Skip to content

Commit 2098b1f

Browse files
committed
Revert "[fix] VirtualizedList passive event listener warning"
This reverts commit a0cd8ff. Fix #2658 Close #2667
1 parent 25ef6bd commit 2098b1f

File tree

1 file changed

+1
-2
lines changed
  • packages/react-native-web/src/vendor/react-native/VirtualizedList

1 file changed

+1
-2
lines changed

packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,7 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
746746
setupWebWheelHandler() {
747747
if (this._scrollRef && this._scrollRef.getScrollableNode) {
748748
this._scrollRef.getScrollableNode().addEventListener('wheel',
749-
this.invertedWheelEventHandler,
750-
{ passive: true },
749+
this.invertedWheelEventHandler
751750
);
752751
} else {
753752
setTimeout(() => this.setupWebWheelHandler(), 50);

0 commit comments

Comments
 (0)