Unity Issue Tracker - UI Toolkit TextField caret/cursor is offet when at the end of a string
Fixed
UUM-21144
UI Toolkit TextField caret/cursor is offet when at the end of a string
Unity: Text (TextCore)
Fixed
2023.2.X
2023.1.X
2022.2.X
Fix ZWSP character with monospace font and tag.
Fix ZWSP character with monospace font and tag.
Reproduction steps
1. Open the attached user's project "ConsoleTestProject.zip"
2. Enter Play Mode
3. Click on the first text box and type
4. Observe that the caret/cursor is offset from the last character you type when using the freemono TextField
Expected: Caret/cursor remains at the end of the current character you are typing
Actual: Caret/cursor is offset at the end of the current character you are typing
Reproducible on: 2022.1.24f1, 2022.2.1f1, 2023.1.0a23
Not reproducible on: 2020.3.41f1, 2021.3.15f1
Could not effectively test below 2022.1.20f1 due to caret disappearing and not showing after typing in the textbox
Environment: Windows 10, 22H2
Prioritise and Follow this issue
Have a workaround or additional info about this issue?