We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The animated reactions that update the animated props are causing worklets to loop infinitely.
import { AppRegistry } from 'react-native'; import BottomSheet from '@gorhom/bottom-sheet'; const App = function App() { const animatedIndex = useSharedValue(0); useDerivedValue(() => { console.log(animatedIndex.value); }); return ( <BottomSheet index={0} snapPoints={[100, 500]} animatedIndex={animatedIndex}> <View style={{ backgroundColor: 'red', flex: 1 }} /> </BottomSheet> ); }; AppRegistry.registerComponent('App', () => App);
The text was updated successfully, but these errors were encountered:
#150
Sorry, something went wrong.
thanks @tankers746 for submitting this issue and the pr ❤️
No branches or pull requests
Bug
The animated reactions that update the animated props are causing worklets to loop infinitely.
Environment info
Steps To Reproduce
Reproducible sample code
The text was updated successfully, but these errors were encountered: