sakofchit/system.css

Dropdown doesn't appear to close old menus when opening another

mmastrac opened this issue · 4 comments

First of all, beautiful library!

I'm not sure if this is by design, but the menus don't close when another menu opens.

image

Definitely not intentional, will push out a fix in a bit!

I see you haven't use any JavaScript!! (I am not quite familiar with *.ejs) Just curious because I want to contribute in this issue specifically.

First of all, beautiful library!

I'm not sure if this is by design, but the menus don't close when another menu opens.

image

Until @sakofchit is not pushing the fix you can check this Codpen I replicate the UI (even then just use the JS code) and added the functionality.