Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2021.1.X

Planned for 2019.4.X, 2020.3.X

Votes

0

Found in

2021.1

2021.1.0b10

Issue ID

1320182

Regression

No

[UIR] Overflow Hidden does not work when VisualElement's Width or Height is less than 1%

UI Toolkit

-

Reproduction steps:
1. Open the user's attached "Interface.zip" project
2. Load the "Environment" scene
3. Make sure the Game view is visible
4. Select "Canvas Element (1)" in the Hierarchy window
5. Decrease the Width or Height until it is less than 1 of the Canvas Element Component in the Inspector window

Expected result: the "TextBox" text is not visible
Actual result: the "TextBox" becomes visible

Reproducible with: UI Toolkit 1.0.0-preview.14 (2021.1.0f1)
Could not test with 2018.4, 2019.4, 2020.3, 2021.2.0a5 (project breaks after downgrading or upgrading)

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a15

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.5f1

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.