We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa4fe83 + a2ab8c2 commit ee8c8fdCopy full SHA for ee8c8fd
lib/internal/event_target.js
@@ -846,6 +846,9 @@ class EventTarget {
846
arg[kInPassiveListener] = true;
847
}
848
result = FunctionPrototypeCall(callback, this, arg);
849
+ if (handler.passive && !handler.isNodeStyleListener) {
850
+ arg[kInPassiveListener] = false;
851
+ }
852
if (!handler.isNodeStyleListener) {
853
arg[kIsBeingDispatched] = false;
854
0 commit comments