lukehaas / Scrollify

A jQuery plugin that assists scrolling and snaps to sections.
MIT License
1.8k stars 579 forks source link

Does not work with versions of Velocity higher than 1.5.2 #351

Open KeithBohler opened 5 years ago

KeithBohler commented 5 years ago

Newer versions of VelocityJS do not support ScrollifyJS.

It throws this error: Uncaught (in promise) Error: Velocity: First argument (scroll) was not a property map, a known action, or a registered redirect. Aborting.

With my experimenting, I've be able to determine that by going back to version 1.5.2 of Velocity and the Velocity UI Pack, you can get Scrollify to function just fine. However, any versions of Velocity higher than 1.5.2 will cause Scrollify to cease in function.

I'm no Velocity expert, but I've heard that there has been a lot of changes made to the way scrolling works over the versions. I actually could not find a solution to fix this, so I gave older versions a try. Hope this helps someone else out there trying to use Velocity and Scrollify together.