Create an option to block excessive scrolling
See original GitHub issueHi @davidjerleke!
Embla currently has ways to remove the leading and trailing blanks from the Slider (containsScroll: true
), but still allow for excessive scrolling. It would be interesting to add an option to block this scroll and stop it when it reaches the end or beginning of the Slider. I would like to know what you think of this idea
Below is the example of the “excessive scroll” I am referring to
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (11 by maintainers)
Top Results From Across the Web
Create an option to block excessive scrolling #42 - GitHub
Hi @davidjerleke! Embla currently has ways to remove the leading and trailing blanks from the Slider (containsScroll: true), but still allow ...
Read more >overscroll-behavior - CSS: Cascading Style Sheets | MDN
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
Read more >Prevent "overscrolling" of web page - Stack Overflow
This solution doesn't work as of Chrome 46 for Mac. It prevents over-scrolling but none of the child elements are scrollable. – Daniel...
Read more >How Scrolling Can Make (Or Break) Your User Experience
Cater Your Content. The first way to encourage scrolling is to design your content so it is easy to scroll through. Consider these...
Read more >How to Stop Doomscrolling News and Social Media
What can we do to prevent ourselves from endlessly scrolling? ... writing cards and letters as an alternative activity during the pandemic.
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
Hi @joeyvanlierop, @jeiea,
To anyone wanting to block excessive scrolling: You can use the following code snippet:
Cheers, David
Hello Laks (@LaksCastro) and Joey (@joeyvanlierop)!
Thank you for your question Joey. The answer to your question is no, not yet. But I’ve quite recently added this to my list of things to investigate, together with issue #38, because it seems like these issues are getting a bit of traction. Please note that I can’t promise any outcome but I will at least look into it further.
I can’t give an ETA for this though. Public feature requests are progressing quite slow right now due to lack of time.
I hope you understand.
Best, David