document.scrollingElement icon indicating copy to clipboard operation
document.scrollingElement copied to clipboard

scrollTop keeps being 0 within iframe on Safari iOS 12.2 (iPad)

Open msqar opened this issue 6 years ago • 0 comments

I'm running a little local example with localhost HTTPS server to test this specific iPad issue, thought this polyfill would help me but even when using this scrollingElement, it keeps returning 0 when doing document.scrollingElement.scrollTop.

It ONLY happens if the scrolling is being done within iframe.

Any ideas?

msqar avatar Jul 02 '19 21:07 msqar