- From: Nadya678 <notifications@github.com>
- Date: Sun, 25 Feb 2018 08:52:36 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 25 February 2018 16:52:58 UTC
Chrome cannot preventDefault on the `#document`, `<body/>` and `<html/>` objects. The `cancelable `is still true. The warnings and access violation should be reported IMO if cancelable is false.
```
TouchEvent
{
altKey:false
bubbles:true
cancelBubble:false
cancelable:true
changedTouches:TouchList {0: Touch, length: 1}
composed:true
ctrlKey:false
(...)
}
```
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080
IMO if any browser "improve scrolling" and other make extensions, the event should have set `cancelable` to false due to specification.
After setting touch-action:none the warning is not emitted but still the event is not cancelled by use od `preventDefault `and `stopPropagation`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/579
Received on Sunday, 25 February 2018 16:52:58 UTC