document.scrollingElement
document.scrollingElement copied to clipboard
scrollTop keeps being 0 within iframe on Safari iOS 12.2 (iPad)
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?