Search Issue Tracker
Fixed
Fixed in 2021.3.0f1, 2022.1.X, 6000.0.0b1
Votes
1
Found in
2021.3.33f1
2022.3.15f1
2023.2.4f1
2023.3.0a19
6000.0.0b11
7000.0.0a1
Issue ID
UUM-58685
Regression
No
[TMP Backport] Cursor gets placed on the right side of the InputField when selecting text and inserting a symbol if “Alignment” is set to center
How to reproduce:
1. Open the user’s attached “TMPBrokenInput.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Enter Play Mode
4. Focus the InputField and insert enough text to cause scrolling
5. Select all the text
6. Type any symbol
7. Observe the cursor in the InputField
Expected result: the cursor is in the middle of the InputField
Actual result: the cursor is on the right side of the InputField
Reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a19
Reproduced on: macOS 13.6.1 (Intel)
Not reproducible on: No other environment tested
Notes:
- not reproducible with legacy InputField
- not reproducible if pressing the delete key and inserting text after the 5th step
- reproducible in the Editor and Standalone Player (macOS)
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
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
Resolution Note (fix version 6000.0.0b1):
Fix bug that occurs with the Input Field, resulting in an incorrect cursor position when modifying long text input.
Resolution Note (fix version 2022.1):
Fix bug that occurs with the Input Field, resulting in an incorrect cursor position when modifying long text input.
Resolution Note (fix version 2021.3.0f1):
Fix bug that occurs with the Input Field, resulting in an incorrect cursor position when modifying long text input.