Dropdown menu not closing

0
How to hide dropdown menu on second click using dropdown image widget and pseudo class (focus-within) on that image. This is the implementation done is scass file and this is the widget that I’ve used. The menu remains open and closes by clicking anywhere else than the button(dropdown image) itself. I want to close that menu on clicking the button.  
asked
0 answers