Some effects make the page jump to the top
Opened this issue · 1 comments
Deleted user commented
When you visit your homepage (http://dixso.github.io/custombox/) and click on the effect "Letmein" the modal windows gets opened and the page jumps to the top. Some other effects (not all) react in the same way.
AugustBrenner commented
I'm not a developer on custom box, But I think I can give an answer. Position Fixed styling doesn't work very well on mobile safari, its a long standing issue. So the body is no doubt positioned absolute, which will cause a page jump. The developer probably has it coded to save the scroll position and jump back to the spot on modal close where the body doesn't need the positioning any more.