|
@@ -76,11 +76,7 @@ class WebView extends React.Component<AndroidWebViewProps, State> {
|
76
|
76
|
* @see: Implementation: https://github.com/facebook/react-native/blob/8ddf231306e3bd85be718940d04f11d23b570a62/Libraries/Lists/VirtualizedList.js#L515-L521
|
77
|
77
|
*/
|
78
|
78
|
getScrollableNode = () => {
|
79
|
|
- if (this.webViewRef.current && this.webViewRef.current.getScrollableNode) {
|
80
|
|
- return this.webViewRef.current.getScrollableNode();
|
81
|
|
- } else {
|
82
|
|
- return findNodeHandle(this.webViewRef.current);
|
83
|
|
- }
|
|
79
|
+ return this.webViewRef.current;
|
84
|
80
|
};
|
85
|
81
|
|
86
|
82
|
getCommands = () => UIManager.getViewManagerConfig('RNCWebView').Commands;
|