Added sections blocks in navigation menu using id, but on mobile view drawer is not closed

Topic summary

A developer implemented section-based navigation in a Shopify Dawn theme by adding section IDs to menu items.

The Issue:

  • On desktop, clicking menu items correctly navigates to the corresponding page sections
  • On mobile, the navigation drawer remains open after clicking these section links instead of closing automatically

Current Status:

  • The user is seeking help to make the mobile drawer close automatically after navigation
  • No solutions have been provided yet
  • This appears to be a common UX issue when using anchor links in mobile navigation menus
Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

Hi There,

I added shopify sections on my navigation menu using ids of sections in dawn theme. but now the issue occurs is that on mobile menu when customer click on that menu it will take you to that section directly but the drawer menu is not close automatically. Can someone help me to close drawer after the click. on it. Here is the link of my website https://drinktwodrums.com/