I want to create an scrollable iFrame with a position:sticky
element inside, that also works on iOS.
iOS does not respect the iFrames height:340px
setting, a workaround to still make it scrolling is a container div with overflow-y:auto;-webkit-overflow-scrolling: touch;
(see Iframe scrolling iOS 8).
But when only the outside div is scrolling the position:sticky
is not working. Is there any other solution to making the iFrame scrollable?
See here on web browser vs. iOS: https://codepen.io/arichter83/project/full/ZWGEaL