iOS Iframe capture scroll

I have an iframe that needs to be limited to the size of my screen and has scrolling on iOS.

The way to work around this in iOS was to place the iframe inside an overflow-y = scroll wrapper, but this brings a number of technical limitations to my project.

The problem is that I can not see the mouse scroll from the Iframe (

window.frameElement.parentElement.scrollTop
), when I do this with a certain frequency, it breaks the document (The content disappears from the view, but it is still written), I can not observe the mouse scroll and that's exactly what I need.

When I use android and other browsers it works, but in iOS it does not.

Any suggestions on how to solve this?

iOS Iframe capture scroll
 
 
Q