Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.0-preview.18
Issue ID
1409252
Regression
No
[UI Toolkit] USS cannot be applied when being dragged not by its name
Reproduction steps:
1. Open the user's project
2. Open "deneme.uxml" file
3. Drag .deneme (by clicking next to its name) to a button
Expected result: .deneme applies to the button
Actual result: .deneme doesn't apply to the button
Reproducible with: 1.0.0-preview.3 (2022.1.0a5), 1.0.0-preview.18 (2022.1.0a5), Built-in (2021.2.15f1), Built-in (2022.2.0a8)
Could not test with: 2019.4.36f1 (no package), 2020.3.31f1 (instead of UI Toolkit, VS Code is opened)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Resolution Note:
This is by design. Dragging from the pill itself should allow the selector to be applied to the element, while dragging from the row should only allow for sorting of the selector in the style sheet panel directly. Of course trying this with a single selector is not helping in the sense that there is nothing visual to hint at that. This is duly noted for a UX refactor of the style sheet panel.