lukehaas / Scrollify

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

setHeights: true doesn't seem to work properly #413

Open jw82uk opened 2 years ago

jw82uk commented 2 years ago

Using the current latest version (1.0.21) of jquery.scrollify.js from Github, setHeights: true doesn't seem to work properly. The heights are way too big.

However, it works if I use the 1.0.21 version of jquery.scrollify.js from https://projects.lukehaas.me/scrollify. This page seems to use a slightly older version of the scrollify script before the scroll container was changed from window to html,body.

I'm using Chrome 97.0.4692.71 on a Mac. Tested with jQuery versions 3.5.1 and 2.2.1.

jw82uk commented 2 years ago

If anyone else is experiencing the same issue, this is the version of the script that works for me.

https://raw.githubusercontent.com/lukehaas/Scrollify/ed2b1092221c5c5259b88e870edb4eb4671e8c48/jquery.scrollify.js

This is also the 1.0.21 version of the script that you'll currently get by installing from npm.