Copyright © 2026 Unity Technologies
This is not a bug. You cannot assign a "Selector" to an element. You can only assign a Style Class (the pills with yellow text) to elements. When you drag a row, you're dragging an entire selector which just means you can re-order it within the StyleSheet or move to another StyleSheet. Selectors are search queries.
Steps to reproduce:
Actual results: A drag preview appears (selector text shown in white), but dropping it onto the VisualElement does not apply the selector/class
Expected results: Dragging the selector from anywhere within the selector row should apply the selector to the Visual Element when dropped, the same way as when dragging directly from the selector label
Reproducible with versions: 6000.0.71f1, 6000.3.8f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Tested on (OS): macOS 26.3 (M1)
Notes:
Issues you vote on will appear here