lukehaas / Scrollify

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

getportHeight not calculated correctly in iOS w/o menubars #385

Closed scuben closed 5 years ago

scuben commented 5 years ago

When scrolling in iOS (or switching to landscape and back to portrait) the getportHeight function gives a wrong number. See this issue which is related to the error: https://github.com/jquery/jquery/issues/4081

Can you switch to use window.innerHeight?

lukehaas commented 5 years ago

If window.innerHeight works better, I'd be happy to merge a PR with that update. 👍