Search Issue Tracker

By Design

Votes

0

Found in

2020.3.44f1

2021.3.16f1

2022.1.24f1

2022.2.2f1

2023.1.0a24

Issue ID

UUM-21942

Regression

No

UI Toggle group losing its state when clicking elsewhere

--

-

How to reproduce:

# Open the user attached “Repro_2020.3.38f1-1380641.zip“ project
# Enter Play Mode
# Click between the different Toggle buttons
# Click on the Button named “Button“

Expected result: When the toggle button “is ON” property is set to true the color stays green
Actual result: The toggle button color is grey even though the “is ON” property is set to true

Reproducible with: 2020.3.44f1, 2021.3.16f1, 2022.1.24f1, 2022.2.2f1, 2023.1.0a24

Reproducible on: Windows 10 (Intel)

  1. Resolution Note:

    Closing this as designed.

    We are aware of this design flaw that is specially present with the combination of the ToggleGroup component's state and the Selectable's state. As is, current they do not share the same states which is why they doesn't drive one another. Unfortunately, updating this behavior would cause a lot of regressions on existing projects. While it's not the desired response you may be expecting, a workaround would be a good way to achieve your desired outcome. One example would be to create a function that finds the active item from the ToggleGroup and assign the active item's target graphic color to the toggle's selected color and reset back to normal those that aren't.

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.