javascript-tutorial / javascript-tutorial/en.javascript.info

<Feature> : The hamburger menu in mobile view should also be closed when clicked outside of nav_menu

Open
#3,429 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

Hey ,

Problem: This is more of a feature Request , I was scrolling the site in mobile and found out that the hamburger Menu closes Only if click on the hamburger Icon .

Solution: The solution is simple , when the user clicks anywhere on the screen they should be able to close the Nav-menu . Which will give a nice user experience.

Thanks in advance

javascript_info

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the mobile hamburger menu and nav_menu implementation in the tutorial site. Reproduce the behavior on a mobile-sized view, then verify that clicking outside nav_menu closes it while clicking inside still behaves correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.