I have a TMP_InputField with a vertical scrollbar and when I change the text programmatically (setting the InputField’s text property) the position or size of the scrollbar doesn’t update. I’ve tried several different things with no luck, such as
- Rebuilding the layout
- ForceMeshUpdate on the textComponent
- ForceLabelUpdate
- TMPro_EventManager.ON_TEXT_CHANGED