mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
xplat/js/react-native-github/packages/react-native/Libraries/Components/ScrollView/ScrollView.js
Differential Revision: D122031911
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d7ff82ebe4
commit
0d9567b756
@@ -348,8 +348,7 @@ class VirtualizedList extends StateSafePureComponent<
|
||||
return this._hasMore;
|
||||
}
|
||||
|
||||
// $FlowFixMe[missing-local-annot]
|
||||
_getOutermostParentListRef = () => {
|
||||
_getOutermostParentListRef = (): VirtualizedList => {
|
||||
if (this._isNestedWithSameOrientation()) {
|
||||
return this.context.getOutermostParentListRef();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user