Unity Issue Tracker - TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
Closed
UUM-89963
TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
Unity: Text (TextMeshPro)
As Designed
6.1.X
6.0.X
2022.3.X
2021.3.X
Auto-size text in a text field is not a capability that we support and we currently don't plan to support it in the future.
Reproduction steps:
1. Open the attached “InputFieldCaret.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. In the Input Field, input any text and press ‘Enter’ on the keyboard
5. Repeat 4th step a few more times
6. Observe the Text and Caret in the Input Field
Expected result: All text is centered in the Input Field
Actual result: Text and Caret GameObject positions are moved and text is not centered