processing / processing/p5.js-website
Navbar visibility flickers on small scroll movements and appears on empty hover area
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 96
- Forks
- 322
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 8
Description
Increasing Access
Description:
The navbar visibility behavior appears inconsistent and unstable during scroll and hover interactions.
The navbar:
- Appears and disappears on very small scroll movements.
- Becomes visible when hovering over the empty navbar area, even if it was previously hidden.
- Flickers when alternating between small upward and downward scroll movements.
- This results in an unintended and distracting UI behavior.
Steps to Reproduce:
- Open the website.
- Scroll down slightly.
- Scroll up slowly using small increments.
- Observe the navbar appearing.
- Continue small scroll movements.
- Notice that the navbar hides again.
- Hover the mouse over the empty top navbar region.
- The navbar appears again.
Expected Behavior:
- Navbar visibility should be stable.
- It should not toggle on minimal scroll changes.
- Hovering over an empty area should not trigger visibility unless explicitly designed.
- Scroll-based visibility should use a clear threshold and consistent logic.
Actual Behavior:
- Navbar toggles repeatedly with small scroll movements.
- Hovering in the navbar area forces it to appear even if scroll logic hides it.
- Behavior feels inconsistent and flickers visually.
Possible Cause:
- Scroll direction logic lacks a minimum delta threshold.
- Hover-based CSS is overriding scroll-based visibility state.
- Missing scroll debouncing or throttling.
- State toggling is happening too frequently.
Most appropriate sub-area of p5.js?
Home
Feature request details
Suggested Improvement:
- Introduce a minimum scroll threshold before toggling navbar visibility.
- Add debounce/throttle to scroll event handler.
- Ensure hover and scroll logic do not conflict.
- Make visibility logic deterministic and consistent.
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 reproducing the navbar behavior on the website with small scroll movements and hover over the empty top region. Locate the navbar's scroll and hover visibility logic, then verify that minimal movements do not toggle it and that hover does not override the intended hidden state.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100