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
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
Add comment