- From: Rick Byers via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 Sep 2017 14:16:16 +0000
- To: public-pointer-events@w3.org
> Would having something like preventDefault on a passive event return a Promise be a reasonable workaround here? I.e. until the panning has started calling preventDefault on a passive touchmove event listener event will resolve the promise and prevent panning? That's conceptually the idea. We can't change the return value of `Event.preventDefault` so we need some new API. And panning/zooming is intentionally not the "default action" of a pointer event, so to solve this for pointer events it shouldn't be associated with `preventDefault`. -- GitHub Notification of comment by RByers Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/216#issuecomment-328114995 using your GitHub account
Received on Friday, 8 September 2017 14:16:11 UTC