lukejacksonn / lukejacksonn/GreedyNav
`check()` doesn't seem to run properly on page load
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 236
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Initially when the page loads, there can be overlapping navigation items (the A in about is cut off):

However, if I scroll down and then back up, an event must get triggered because the navigation items stop overlapping:

I have only been able to reproduce this issue on mobile.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the check() entry point and reproducing the issue on a mobile viewport during the initial page load. Compare the initial state with the state after scrolling down and back up; done means navigation items do not overlap on first load and still behave correctly after scrolling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100