Search Issue Tracker

Fixed in trunk

Votes

1

Found in [Package]

1.0.0-preview.14

Issue ID

1312538

Regression

No

[UI Toolkit] Children are displayed and don't disappear when setting parent element's visibility to "hidden"

Package: UI Toolkit

-

How to reproduce:
1. Open the attached project
2. Open the UI Builder (Window->UI Toolkit->UI Builder)
3. In the UI Builder Window, select the "Scroller" element parent
4. In the UI Builder Inspector, set Visibility to "hidden" (found under the "Display" tab)
5. Inspect the changes done to the UXML file

Expected result: Scroller is hidden
Actual result: Scroller is not hidden

Reproducible with: 1.0.0-preview.14 (2020.2.4f1, 2021.1.0b7, 2021.2.0a5)
Couldn't test with Unity 2018.4.32f1, 2019.4.20f1 (UI Toolkit package is not available)

Comments (3)

  1. Takayamushi

    Oct 06, 2022 00:58

    I am on Unity 2021.3.0, almost 2 years later and this is still an issue.

  2. Lemare

    Dec 08, 2021 21:14

    We need this fixed too. Our solution atm is to change the visibility of each child when changing the visiblity of the parent.

  3. VOTRUBEC

    Nov 30, 2021 01:15

    When can we expect this to actioned?

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.