The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

dropdown button react


Hello, I'm a backend developer and I broke a front end branch, I bought the theme and I'm trying to put a dropdown button similar to "MegaMenu" but it doesn't work...
If I put the MegaMenu inside the MenuInnerWithSub inside the MenuInner at the top, it works! But if I put the MenuInnerWithSub with the mega menu inside a toolbar it just doesn't work.
I have a toobalr with a filter button with a dropdown that works, a create button now I want this create button to become a dropdown but I can't get it to work


Text formatting options
Submit

Replies (2)


Building custom UI components like React dropdown buttons can be tricky, especially when managing dynamic states and event listeners. While coding a dropdown for a gaming portal, I tested it alongside to see how smoothly the UI toggled during intense gameplay. Adding clean event handlers ensured the menu stayed fully responsive without lag, providing a seamless experience for players navigating online games.



Hi Rafael,

It will not work outside, cause of its menus' inner component (nested structure of the HTML markup is mandatory).
Anyway, try to check demo1/src/app/pages/MenuTestPage.tsx page (add it into your routing and try to open it), it will help you to understand the structure of your component with MegeMenu.

Regards,
Keenthemes support


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.
Text formatting options
Submit
Text formatting options
Submit