I have a menu with items, “About Us” and “Contact Us”, referring to sections in the same static front page. When I click on those items, I expect the menu to collapse and the screen scrolls to corresponding section. But I observed the menu remains expanded. This is happening in smaller screens where menu is collapsed by default and menu icon is shown.
How can I make menu collapse on click on those two menu items?