miguel-perez / smoothState.js

Unobtrusive page transitions with jQuery.
MIT License
4.43k stars 505 forks source link

How to get second page animation to load as first page is exiting #318

Open ghost opened 7 years ago

ghost commented 7 years ago

It seems that with smoothstate the intro animation on a next page only comes in after the exit animation of the current page happens.

Is there a way to bring in the second page animation as the current page animation is exiting and not fully wait until it's over?

shrpne commented 7 years ago

I believe smoothState not able to do so. But maybe you can clone old page container and animate it exit by yourself.

puppetmaster3 commented 7 years ago

ss can do that, here is example: https://www.masons-foundation.org/home/feed/