You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should the DropdownMenu Trigger be disabled if the passed in trigger has the disabled attribute set to true?
Currently it seems the Trigger needs to have disabled in order for the trigger to prevent the menu from opening. It feels like it should be honored because of the asChild prop on the Trigger.
Question
Should the DropdownMenu Trigger be disabled if the passed in trigger has the disabled attribute set to true?
Currently it seems the Trigger needs to have disabled in order for the trigger to prevent the menu from opening. It feels like it should be honored because of the asChild prop on the Trigger.
Here's an example in code sandbox
https://codesandbox.io/p/sandbox/react-typescript-forked-w7whz8
The text was updated successfully, but these errors were encountered: