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
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.
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.
The text was updated successfully, but these errors were encountered:
Nadya678
changed the title
chrome, doesn't accept preventDefault and stil cancelable is true
chrome, doesn't accept preventDefault and still cancelable is true
Feb 25, 2018
cancelable of type boolean, readonly Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.
That definition is no longer entirely accurate, but it doesn't matter, since you're complaining about behavior specific to Chrome, not something that's in the DOM Standard: https://dom.spec.whatwg.org/.
Chrome cannot preventDefault on the
#document
,<body/>
and<html/>
objects. Thecancelable
is still true. The warnings and access violation should be reported IMO if cancelable is 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
andstopPropagation
.The text was updated successfully, but these errors were encountered: