Search Issue Tracker
Fixed in 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1
Votes
1
Found in [Package]
2.1.3, 3.0.3
Issue ID
1353535
Regression
Yes
InputField gets scrolled upwards when the Text component has a non zero margin
How to reproduce:
1. Open the user's attached project
2. Open 'SampleScene'
3. Enter the Play mode
4. Focus the input field
5. Start typing something
6. Observe the input field
Expected result: The entered text stays in the same place
Actual result: The input field gets scrolled upwards
Reproducible with: TextMeshPro 2.1.3 (2019.4.23f1), 3.0.3 (2020.1.0f1), 3.0.6 (2020.1.0f1, 2022.1.0a4)
Not reproducible with: TextMeshPro 1.4.1 (2018.4.36f1), 2.1.1 (2019.4.23f1), 3.0.0-preview.1 (2020.1.0a11) 3.0.1 (2020.1.0f1)
Note:
- The issue doesn't reproduce if the InputField (TMP) > Text Area > Text Margins are set to 0
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1):
Fixed in: 1.6.0-preview.1 (2018.4.36f1), 2.2.0-preview.1 (2019.4.32f1), 3.2.0-preview.1 (2020.3.22f1)