mirror of
https://github.com/zoriya/react-native-web.git
synced 2025-12-06 06:36:13 +00:00
committed by
Nicolas Gallagher
parent
8cf720f0e5
commit
a0cd8ffba4
@@ -746,7 +746,8 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
|
||||
setupWebWheelHandler() {
|
||||
if (this._scrollRef && this._scrollRef.getScrollableNode) {
|
||||
this._scrollRef.getScrollableNode().addEventListener('wheel',
|
||||
this.invertedWheelEventHandler
|
||||
this.invertedWheelEventHandler,
|
||||
{ passive: true },
|
||||
);
|
||||
} else {
|
||||
setTimeout(() => this.setupWebWheelHandler(), 50);
|
||||
|
||||
Reference in New Issue
Block a user