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