Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
1
Found in
2022.3.62f1
6000.0.50f1
6000.1.4f1
6000.2.0b3
6000.3.9f1
6000.4.0b9
6000.5.0a7
6000.6.0a1
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment