Skip to content

A vanilla javascript for adding soft scroll to elements without having that ugly shaking.

Notifications You must be signed in to change notification settings

Artofaj/no-shake-scrollify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

no-shake-scrollify

Define waiting time in ms with var throttleTime = yourWaitingTime.

Define the elements to scroll to with var scrollToElement = yourElement.

Define the element's parent with var containerElement = yourContainer.

The container needs overflow-y: hidden; and position:relative.

Implementation

I didn't make a codepen, but you can see this code in action on my website: www.artofakume.com

About

A vanilla javascript for adding soft scroll to elements without having that ugly shaking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published