I’ve found an issue with the input field when using best fit text.
I have my input field setup like this
And the text component setup like this
What’s happening here is my text is displayed multiline in a large non-interactable input field. I have done this because I want the user to be able to copy and paste the contents. The text is set to best fit inside this input field.

If I scroll the mouse wheel over this field it goes bananas and the text shoots off out of the clip bounds and becomes invisible. The reason, it seems, is related to this line in
OnScroll
if (m_TextComponent.preferredHeight < m_TextViewport.rect.height)
return;
The preferred height of my text field is 1200 but my viewport is only 200. The large discrepancy is presumably related to the fact it’s trying to set the text to 90 but is scaled down to 40.65 due to the size constraints on the RectTransform. This should not scroll at all because it fits perfectly inside my view rect.
To be honest, I just want to be able to disable scrolling on here which there doesn’t seem a way to do.

