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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 1.5.0-preview.5):
Fixed in 1.5.0-preview.5