Scrolling stops on child iframes (videos from vimeo and youtube embeds) #358
-
On both desktop and touch devices scrolling stops working when the mouse cursor (or touch point) is on an iframe. This is because the focus goes to the iframe. I've tried numerous ways to get around this by adding Environment
Issue SummaryIframe takes the focus making smooth scroll parent unresponsive / frozen. Current BehaviorMouse over iframe embed, smooth scroll stops working. Expected BehaviorScrolling should still function on the parent. A possible solution could be adding an attribute to the child iframe to indicate the scrolling should be ignored: Steps to Reproduce
Online demo |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is because events from |
Beta Was this translation helpful? Give feedback.
-
I have similar issue all we can do is to set pointer event : none
|
Beta Was this translation helpful? Give feedback.
This is because events from
iframe
cannot be captured from the outer document. See #143