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
- [Android] Crash due to null pointer dereference when UnityPlayer.UnitySendMessage() is called in onCreate
- DepthNormalPrepass or DrawDepthNormalPrepass is rendered when using the Decal renderer feature with “Technique: Screen Space” and “Use Rendering Layers”
- “Shader error in 'Hidden/VFX/.../Minimal/Render Quad': undeclared identifier 'mainTexture' at line 2198 (on d3d11)” error appears when connecting a Switch Node output to the Main Texture in VFX Graph
- Editor crashes on GfxDeviceD3D12::UploadTextureSubData2DImpl when opening the Scene view
- The Camera's Clipping Planes Far value's condition of being greater than the Near value gets enforced when typing the value
Resolution Note (fix version 1.5.0-preview.5):
Fixed in 1.5.0-preview.5