New issue
Advanced search Search tips

Issue 693494 link

Starred by 3 users

Issue metadata

Status: Assigned
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Sign in to add a comment

setPointerCapture doesn't prevent events falling into an iframe

Project Member Reported by, Feb 17 2017

Issue description - pointerdown on "This calls setPointerCapture" and drag to the sandboxed iframe - pointer/mouse move events stop firing.

Edge continues to fire events. Firefox also continues to fire mouse events, but requires setCapture rather than setPointerCapture.
Labels: -Pri-3 Hotlist-Input-Dev Pri-2
Status: Assigned (was: Untriaged)

Comment 2 by, Feb 23 2017

Labels: OS-All
Is this caused by issue 591387?  This seems pretty bad IMHO - eliminates a lot of the value of setPointerCapture (the most useful scenarios for capture are cross-iframe, like panning an embedded map).  Don't we have a web-platform-test for this case?
Rick, it works the other way around which is the case of panning an embedded map. In other words, if the inner frame sets the capture it keeps getting the events even if you move the mouse out of it. But if the outer frame sets it if the mouse goes into the iframe the outer frame doesn't get the events anymore.
Labels: -Pri-2 Pri-3

Sign in to add a comment