Search Issue Tracker
Fixed in 1.5.0-preview.5
Votes
0
Found in [Package]
1.2.2
Issue ID
1219965
Regression
No
[TMP] Caret is aligned at the top of a text field when using Midline alignment
Reproduction steps:
1. Open the project from the attached file "1219965.zip"
2. Enter Play Mode
3. In the Hierarchy go to Canvas > InputField > Text Area > Text
4. In the Inspector set Text alignment to Midline
5. Press on the input field in the Game View and inspect the placement of the marker
Expected result: Marker is vertically centered
Actual result: Marker is aligned at the top
Reproducible with: TMP 1.2.2(2017.4.38f1), TMP 1.5.0 - preview.4(2018.4.18f1, 2019.3.5f1), TMP 2.1.0 - preview.4(2020.1.0a14), TMP 3.0.0 - preview.4(2020.2.0a2)
Not reproducible with: TMP 1.5.0 - preview.5(2018.4.18f1, 2019.3.5f1), TMP 2.1.0 - preview.5(2020.1.0a14), TMP 3.0.0 - preview.5(2020.2.0a2)
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (fix version 1.5.0-preview.5):
Fixed in 1.5.0-preview.5