VikLiegostaiev / react-page-scroller

Simple React component for smoothy full-page scolling using CSS animations. React Page Scroller
https://github.com/VikLiegostaiev/react-page-scroller
MIT License
416 stars 84 forks source link

@keyframes animation on scroll #48

Open bnayae opened 4 years ago

bnayae commented 4 years ago

Because page transition is done via transform, library like aos or ' react-animate-on-scroll won't work when using 'react-page-scroller').

I was doing some extensions (hooks) which enable using @keyframes animation. You can check it out at: GitHub: react-animate-page-on-scroll-playground

I'm willing to contribute it (with some further functionality, which we use on our production code) to this repo, or creating new repo for the extended functionality.

Would you like to have pull request or prefer it to be on separate repo?

VikLiegostaiev commented 4 years ago

Hi @bnayae , sorry didn't have enough time to get to the repo. Will check, thanks!