You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an iframe, with a <body> that is full width and height of the window in the iframe.
on pointerdown on the body in the iframe, I capture the pointer
pointermove fires while I'm dragging inside the body
as soon as I leave the iframe boundary while the pointer is captured, pointermove events stop firing
if I let go (pointerup) outside of the iframe, pointerup does not fire, capture is not lost (I am observing a lostpointercapture event)
as soon as I hover back inside the iframe, capture is lost
My pointerdown, pointermove, and pointerup handlers all have event.preventDefault() as their first line. Is this what is causing the issue, and is that expected? Or am I seeing a bug?
EDIT: I feel like I may have asked about this before. It's really easy to forget the intricacies of pointer events.
The text was updated successfully, but these errors were encountered:
For example,
<body>
that is full width and height of the window in the iframe.My pointerdown, pointermove, and pointerup handlers all have
event.preventDefault()
as their first line. Is this what is causing the issue, and is that expected? Or am I seeing a bug?EDIT: I feel like I may have asked about this before. It's really easy to forget the intricacies of pointer events.
The text was updated successfully, but these errors were encountered: