Comments (2)
Hi @sahithyandev, yes this is definitely a problem. I've thought about to feature detect the support and in cases, if not supported to lazy load and use the debounce
function as a fallback.
Another possibility is to require a polyfill and document this in the README. But since this "is an experimental technology" it might be better to support it out of the box and research more in the first direction instead of requiring a polyfill.
from caroucssel.
requestIdleCallback is not available on Safari. Isn't that a problem?
https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback#browser_compatibility
from caroucssel.
Related Issues (16)
- Vertical scroll on mousemove event HOT 1
- Scroll-Padding Demo
- ScrollHook Type should use Index Type
- Disable only the first pagination button HOT 4
- GitHub pages missing script execution HOT 1
- Use ResizeObserver
- Calculation of selected pages doesn't work properly HOT 12
- Ignore elements inside .scroller HOT 4
- Missing documentation for `scrollbarsMaskClassName`
- Fails when contains no items
- Pagination with only one page inside HOT 1
- Use Element.scrollIntoView()
- Handle if template functions doesn't return element(s).
- Glitchy Scrolling Behavior HOT 2
- Plugin mechanism HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caroucssel.