miguel-perez / smoothState.js

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

Glitch when loading pages on mobile #338

Open addisongabe opened 7 years ago

addisongabe commented 7 years ago

Whenever I load my website on mobile, if the content height of a page is not taller than the device height, my transition won't be applied and it just loads like a non-smoothstate page would. I'm having to add a crazy amount of padding to the bottom of shorter pages to make them load properly on mobile. Not sure why this is. Is there any kind of fix/work around for this?

It looks like this is just an issue on mobile Safari - Safari causes all the problems.

Here is an example: http://addisongabe.com/new/blog.php