I am trying to use Animated.ScrollView alongside this package. I tried to do this to no avail. With my code, a traditional ScrollView does indeed work, so I can confidently say that this is an issue with the package's compatibility with an animated component.
import { Animated, ScrollView } from 'react-native';
// import Animated from 'react-native-reanimated'; <- what I want to do, but for demonstration purposes showing that RN's Animated component does not work
const KeyboardAwareAnimatedScrollView = listenToKeyboardEvents( // DOES NOT WORK
Animated.ScrollView
);
const KeyboardAwareAnimatedScrollView = listenToKeyboardEvents( // WORKS
ScrollView
);
return (
<KeyboardAwareAnimatedScrollView
// ...
Here is the warning I'm getting. Does anyone have insight as to what's going on?
I am trying to use Animated.ScrollView alongside this package. I tried to do this to no avail. With my code, a traditional ScrollView does indeed work, so I can confidently say that this is an issue with the package's compatibility with an animated component.
Here is the warning I'm getting. Does anyone have insight as to what's going on?