Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
1.0.0-preview.13
Issue ID
1296394
Regression
No
[UI Toolkit] Caret/Text cursor is offset after selecting text when tabs are added in start of TextField
How to reproduce:
1. Open the attached project
2. Open the "Bug Report" Window (Bug Report->TextField)
3. In the "Bug Report" Window, add a couple of tabs at the start of the TextField
4. Write some text (5-10 characters)
5. Try to select the written text by clicking on it
6. Observe the caret/text cursor position
Expected result: Caret/text cursor position is relative to the clicked point
Actual result: Caret/text cursor position is not relative to the clicked point, there's an offset
Reproducible with: 1.0.0-preview.13 (2020.1.17f1, 2020.2.0f1, 2021.1.0a6)
Couldn't test with Unity: 2018.4.30f1, 2019.4.16f1 (UI Toolkit package is not available), 2021.1.0a7, 2021.1.0a10 (Internal package errors)
Note: Offset depends on the number of tabs added at the start of the TextField
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
Add comment