UI Toolkit DropdownField input area changes depending on resolution

I’m finding that the UIToolkit DropdownField input area seems to differ depending on the resolution of the game window. Ideally I’d expect the hover/active states are executed when the mouse cursor is over the dropdown box area, but it seems like the area the DropdownField considers for input changes on GameView size.

I could likely workaround this somehow by overriding the DropdownField uss for the selectable area, but the challenge is that I cannot tell what child VisualElement that is or what uss Selector affects it. I’ve done some poking around with the UI Toolkit Debugger, but i’ve not had much luck identifying the specific element or selector for that area.

Unity version: 2022.3.16f1

1 Like