You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 fix: resolve mobile menu navigation issues on touch devices
Fixed an issue where clicking on mobile menu items would close the menu
instead of navigating. The problem was caused by the mousedown event
handler closing the menu before the click event could trigger navigation.
Changes:
- Moved menuRef to only wrap the mobile menu div instead of entire nav
- Added buttonRef to exclude menu button from outside click detection
- Only attach click outside listener when menu is actually open
- Improved click outside logic to properly detect clicks outside menu
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments