I'm facing a unique challenge and could use some guidance. The issue is with the mobile version of my website, accessible at . On tablets or mobile devices, the menu is condensed into a button. To navigate through the menu, I have to click the button to reveal a drop-down list, select the desired page, and then click the menu button again to close the drop-down list. If not closed, the list covers the entire screen, making it impossible to view the selected page.
You can see how it looks in this screenshot: https://i.stack.imgur.com/bSk9b.jpg
Is there a way to automatically close the menu when selecting an item from the drop-down list? Any tips or suggestions on how to achieve this would be greatly appreciated as I'm currently struggling to find a solution.