v4.1.0
The main change in this release is the addition of an overall progress data point to the data passed to the onProgress
callback which gives a pixel measurement of how far the top of the whole scrollyteller is past the waypoint and a percentage for the same measurement.
The timing of events has also changed slightly due to the removal of an unnecessary requestAnimationFrame
call that was sitting between the scroll
event listener and calling the callbacks.
There were also a bunch of dependency updates and some minor bug fixes for mobile styles.
Commits
- Merge pull request #40 from abcnews/overall-progress 5543ea3
- Add peerDeps to devDeps to ensure npm < 7 installs them aa47e20
- Specify npm@7 to make sure test runner installs peer dependencies 3d8e0c1
- Add overall progress to the onProgress callback response a3da2c8
- Remove useless rAF callbacks 3517592
- Linting 46f200e
- Update dependencies 41810ba
- Merge pull request #34 from abcnews/accomodate-browser-chrome d64a3bb
- Update example to test graphic visibilty d430c6e
- Handle the presence of browser chrome on mobile e04e2b4