Raycast Triggers Second Dropdown when Selecting Item from First Dropdown.

I have Two dropdowns vertically positioned in the Canvas.
When Upper dropdown is clicked, it expands and the items are shown. (Hiding the Lower Dropdown. Understandably).
But when I am clicking to select an option, the bottom dropdown is also clicked.

How to Avoid this problem? Raycast doesn’t trigger anything behind the canvas. That’s alright. But having Click through UI element on the same canvas.

Hi,

You probably want to ask this in this thread; this forum is for UI Toolkit specific questions :slight_smile:

1 Like