Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X

Votes

1

Found in

6000.0.50f1

6000.1.4f1

6000.2.0b3

Issue ID

UUM-107497

Regression

Yes

The scrollbar does not respect empty lines in the Input Field

-

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 (>10)
8. Observe the scrollbar

Expected result: The Scrollbar handle gets smaller with each added line
Actual result: The Scrollbar handle stays the same size

Reproducible in: 2023.2.0a14, 6000.0.50f1, 6000.1.4f1, 6000.2.0b3
Not reproducible in: 2022.3.62f1, 2023.2.0a13

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

Notes:
- Handle only changes in size if there is text in those new lines
- Does not reproduce with “Preserve Whitespace“ wrapping method

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.