Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent Nav flickering on mobile (#164)
Firefox for Android occasionally emits multiple scroll events with the same `scrollTop` integer value towards the end of an inertia scroll, which causes the Nav to flicker between visible states. This fixes it by keeping the visible state the same if `scrollTop` is unchanged.
- Loading branch information