Skip to content

Mobile Menu Does Not Close When Clicking Outside the Menu #38

Description

@meghanakongara0429

On small screen devices, the hamburger menu button correctly appears to toggle the mobile navigation menu. The menu opens and closes when clicking the hamburger icon or when a navigation link is clicked. However, if the user clicks anywhere outside the open menu (the backdrop or other parts of the page), the menu remains open. This behavior can negatively impact user experience by making it harder to close the menu intuitively. Adding an outside click listener or a backdrop that closes the menu when clicked would improve usability on mobile devices.

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions