Re: [pointerevents] Should pointerover and pointerenter work on mobile? (#346)

I updated the pen in the OP, and that one works fine on mobile now.

But for the life of me, I just can't get it to work in the following fork of the demo, in which I want to start the `pointerdown` event on the `cube-` element instead of on the grid cells.  A `gotpointercapture` event never fires on the `lume-node`s (grid cells), or on the `.gridContainer` (MDN says the event bubbles).

https://codepen.io/trusktr/pen/2d143d1f00c35c0bf6a82c9017b70806

But also, the `pointerup` event on `document` doesn't always fire after each drag, which I don't understand.

So I'm not sure if I'm still having the capture problem, or if I'm doing something silly (if I am, it isn't obvious), or if there's a bug.

To reproduce, try dragging the cube around to different cells multiple times, and it will fail sometimes. When it fails, the cube won't move while dragging, but it will move once the pointer is lifted (and `pointerup` event failed to fire).

-- 
GitHub Notification of comment by trusktr
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/346#issuecomment-759122210 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 13 January 2021 00:26:23 UTC