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

Package: UI Toolkit

-

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)

  1. 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.

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.