mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-08 04:31:19 +00:00
@@ -399,7 +399,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|||||||
if (this._scrollRef && this._scrollRef.getScrollableNode) {
|
if (this._scrollRef && this._scrollRef.getScrollableNode) {
|
||||||
return this._scrollRef.getScrollableNode();
|
return this._scrollRef.getScrollableNode();
|
||||||
} else {
|
} else {
|
||||||
return ReactNative.findNodeHandle(this._scrollRef);
|
return findNodeHandle(this._scrollRef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1058,8 +1058,8 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|||||||
|
|
||||||
_measureLayoutRelativeToContainingList(): void {
|
_measureLayoutRelativeToContainingList(): void {
|
||||||
UIManager.measureLayout(
|
UIManager.measureLayout(
|
||||||
ReactNative.findNodeHandle(this),
|
findNodeHandle(this),
|
||||||
ReactNative.findNodeHandle(
|
findNodeHandle(
|
||||||
this.context.virtualizedList.getOutermostParentListRef(),
|
this.context.virtualizedList.getOutermostParentListRef(),
|
||||||
),
|
),
|
||||||
error => {
|
error => {
|
||||||
|
|||||||
Reference in New Issue
Block a user