The Prompt BakeryTemplates and prompts

Fix · Pages, phones and Arabic

Mobile menu does not open or does not close

What you may see

  • The hamburger button does nothing, or the menu stays open after I tap a link

Most likely cause

The open/closed state is not toggled, is not reset when the page changes, or a layer hides the button.

Check first (about two minutes)

  1. Tap the button on a real phone: does the button change (icon or label)?

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Check the button is a real button with aria-expanded and that its click changes state.
  2. Close the menu when a link is tapped, when the route changes and when Escape is pressed.
  3. Keep page scrolling correct (do not leave the page locked).
  4. Test in English and Arabic: the menu opens from the correct side.

Do not do this

  • Do not leave body scroll locked.
  • Do not remove the menu on desktop.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.