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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
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.