Closed MichaelSchmidle closed 11 months ago
Not sure who fixed this or when, but the dropdown menu now behaves as expected. Thanks!
Just download the component again (and save any customizations you made to it beforehand):
npx shadcn-vue@latest add dropdown-menu
Environment
Link to minimal reproduction
https://www.shadcn-vue.com/docs/components/dropdown-menu.html
Steps to reproduce
Use Firefox on Android or Firefox on Windows (in Responsive Design Mode, Ctrl+Shift+M), then browse to the official docs of the dropdown menu: https://www.shadcn-vue.com/docs/components/dropdown-menu.html
Click the dropdown menu trigger.
Describe the bug
The dropdown opens and immediately closes again. With Firefox on Android, pressing the trigger very long opens the dropdown menu for good—but users usually won't think of that.
In comparison, the Radix Vue dropdown menu (see https://www.radix-vue.com/components/dropdown-menu) works as expected and stays open after normally clicking it.
Expected behavior
The dropdown should stay open after a normal click on the trigger, just as the Radix Vue component.
Conext & Screenshots (if applicable)
No response