react-native-modalize icon indicating copy to clipboard operation
react-native-modalize copied to clipboard

FIX: getNode() is not needed for scrolling in FlatList `contentRef`

Open devautor opened this issue 3 years ago • 0 comments

Suggested usage from docs (and corresponding example) throws this error:

ERROR  TypeError: contentRef.current.getNode is not a function. (In 'contentRef.current.getNode()', 'contentRef.current.getNode' is undefined)

Removing getNode() fixes this!

My package versions:

    "expo": "~46.0.7",
    "react-native": "0.69.4",
    "react-native-gesture-handler": "~2.5.0",
    "react-native-modalize": "^2.1.1",
    "react-native-reanimated": "~2.9.1",

devautor avatar Aug 29 '22 08:08 devautor