ryanseddon / 60fps-scroll Goto Github PK
View Code? Open in Web Editor NEWDeprecated - A little library that *could* make your site scroll faster
License: MIT License
Deprecated - A little library that *could* make your site scroll faster
License: MIT License
I couldn't get this to work no matter what I did, am I missing something obvious...
Then again, the jsbin demo version of this works fine when scroll is in body. If scroll is in a container, it won't work. See what I mean here here. If I add the scroll to the container it starts behaving weirdly container.addEventListener('scroll', function() {...
Would be great if the timeout was configurable. 500ms is a bit too long for me.
I'm loading this library on non-touch devices only via modernizr, but even though the library is loaded, it won't initialize. How can I initialize it manually?
Would be good to have a way to remove the scroll cover.
Possibly expose a destroy
method on a global for this lib.
hello guys,
i've had the same problem as mentioned in the article (follow-up-60fps-scroll). despite of using the latest version of google chrome, i still had the problem.
downloaded and included this library and it does the trick.
i believe the development shouldn't stop cuz it's still a problem even in the newest version of chrome.
the idea of using translate3d is great.
(tested on windows10)
So this little lib was only useful for Chrome which was the only browser that didn't disable mouse events while the user was scrolling causing the paint storms and janky scrolling.
They have since fixed this issue and have shipped it to canary, see status.
Once it reaches stable I'll retire this project by updating the readme to make sure people don't use it. I'll keep it around the code for historical reasons.
I'll also update my blog posts, or even post a new one.
cc @paulirish
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.