Skip to content

Mobile menu cannot be closed on touch devices. #586

@AdityaSharma-Git3207

Description

@AdityaSharma-Git3207

While testing the site on actual mobile devices, I noticed that the mobile menu opens correctly but cannot be closed using the ❌ / hamburger toggle.

This seems to be specific to touch devices. I tested the same behaviour on desktop browsers at 200–300% zoom, and the close button works there as expected.

On mobile, however, tapping the toggle again does not close the menu, leaving the navigation stuck open.

I’ve attached a short screen recording from a mobile device showing the behaviour.

I did a bit of investigation and noticed the toggle is bound to a mousedown event with preventDefault(), which may be interfering with touch interactions on mobile browsers.

Happy to look into a fix if this needs help, just wanted to flag it first.

VID_20260123_123503.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions