Hide on scroll
See original GitHub issueHey @Mastermindzh,
at first, nice module, good API and it just works.
I’ve a question, what do you think about a acceptOnScroll option? I’v seen this functionality in other modules and i’am wondering if its also a case for this one?
So some kind of window.addEventListener('scroll') which executes this.accept on scroll start.
But at first it would be interesting if this is even allowed.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How To Hide Menu on Scroll - W3Schools
This example demonstrates how to hide a navbar when the user starts to scroll the page. Scroll down this frame to see the...
Read more >Hide NavBar as Scroll down, in less than 10 lines of javascript
Here, the position of the navbar is being altered using javascript. First we create a variable which stores position of Page;. Then we...
Read more >Hide navbar menu on scroll down, show on scroll up
Steps to make bootstrap 5 navbar auto hide on scroll up · Create navbar on top of page · Write javascript funcrion to...
Read more >Hide scroll bar, but while still being able to scroll
Firefox now supports hiding scrollbars with CSS, so all major browsers are now covered (Chrome, Firefox, Internet Explorer, Safari, etc.). Simply apply the ......
Read more >How to hide the navbar on scroll on a webpage - Educative.io
Step 1 · DOCTYPE html> · html> · head> · meta name="viewport" content="width=device-width, initial-scale=1"> · style> · /head> · body> · nav id="nav">...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Mastermindzh you’re awesome… thank you! 😃
Added in v1.6 😃
Enjoy!
Example usage: