Current Behavior
Getting the following error when scrolling down + hide on Android:
%s: Calling %s on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release., FlatList, getNode()
index.tsx line 781. Removed getNode() and the warning is gone.
Before:
// @ts-ignore
const node = this.props.innerRef.current?.getNode();
After:
// @ts-ignore
const node = this.props.innerRef.current;
How to reproduce
Just scroll down from inside the FlatList very fast and you get the error.
Your Environment
|
version |
| Platform (Android, iOS or both) |
|
| react-native-scroll-bottom-sheet |
|
| react-native |
|
| react-native-gesture-handler |
|
| react-native-reanimated |
|
Current Behavior
Getting the following error when scrolling down + hide on Android:
%s: Calling %s on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release., FlatList, getNode()
index.tsx line 781. Removed getNode() and the warning is gone.
Before:
// @ts-ignore
const node = this.props.innerRef.current?.getNode();
After:
// @ts-ignore
const node = this.props.innerRef.current;
How to reproduce
Just scroll down from inside the FlatList very fast and you get the error.
Your Environment