Velocity parameter from show() method does not work
OrkanAutomacao opened this issue · comments
OrkanAutomacao commented
Issue Description
When passing velocity value to show method it goes to position without doing any animation.
Steps to Reproduce / Code Snippets / Screenshots
panelRef.current.show({
toValue: windowHeight,
velocity: 0.1
})
Environment
- Version: 2.4.0
- React Native version: 0.61.5
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Device, Debug
Lucas Raposeiras commented
You have to pass a negative velocity, because the drawer is going to the top.