Skip to content

t0lkman/safe-to-hover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

safe-to-hover.js

Making pages scroll smoothly is super important and :hover does not play well with scrolling.

Why? [Because painting is really

scroll a page fast, it leaves a trail of required repainting underneath the cursor as the document flies by. This makes the page janky. We dont like jank.

For a fix, roll on over to https://plus.google.com/+MalteUbl/posts/NsyYKenqYNP

About

Disable :hover temporarily on scroll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published