Search Issue Tracker
Active
Under Consideration for 6000.2.X
Votes
1
Found in
2022.3.62f1
6000.0.50f1
6000.1.4f1
6000.2.0b3
Issue ID
UUM-107498
Regression
No
(TMP) The Input Field view is not updated when deleting lines of text
How to reproduce:
1. Create and open a project
2. Install the TextMeshPro package (Window > Package Manager)
3. Install (Window > TextMeshPro > Install Examples & Extras)
4. Open the “Assets/TextMesh Pro/Examples & Extras/Scenes/20 - Input Field with Scrollbar“ Scene
5. Enter Play Mode
6. Delete all text in the top Input Field
7. Press the Enter key a bunch of times (>15, just to be sure)
8. Delete 3 of them
9. Observe the caret position
Expected result: The caret stays at the bottom of the Input Field (the view goes up by one line), indicating that there is no text below the caret
Actual result: The caret is at the middle of the Input Field, indicating the view is not updated to the caret position (when there is no text below)
Reproducible in: 2022.1.0a1, 2022.3.62f1, 6000.0.50f1, 6000.1.4f1, 6000.2.0b3
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- If the text is vertically over the size of the Input Field, the view should be updated so that the caret is at the bottom of the Input Field view
- This is kind of similar to a case that was fixed a while ago: https://issuetracker.unity3d.com/issues/when-erasing-the-text-of-an-inputfield-by-hitting-backspace-the-text-doesnt-scroll-back
- The view is not updated until the caret goes outside the Input Field view
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment