Dropdown menu open by default #269
Replies: 3 comments
-
If you are using it in react toggle the boolean state and for js change display : none to display : block |
Beta Was this translation helpful? Give feedback.
-
i also looked for this but can not get it working. or just partly: when i do sth like lg:hidden it shows on mobile without clicking it but the then non-mobile version does not show anymore :/ |
Beta Was this translation helpful? Give feedback.
-
You won't be able to have it open by default properly with just changing classes. This is because the Dropdown plugin uses Popper behind the scenes, and when opened/closed it creates a popper instance to have the placement work correctly etc. Your best bet is likely using the You could open a feature request issue so that |
Beta Was this translation helpful? Give feedback.
-
any way to open this dropdown menu by default?
Beta Was this translation helpful? Give feedback.
All reactions