You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am really new to React-native-reanimated. I am trying to create one custom bottom-sheet like this app. I am using PanGestureHandler from react-native-gesture-handler for move the Animated View to go up and down. For gestureHandler I am using useAnimatedGestureHandler props from react-native-reanimated. I want to move the Animated View from start point to middle screen and bottom of screen. This is My Bottom sheet start point start, when scroll the card down it should come middle of the screen like this image, again scroll down the card it will come bottom like this image. But I am having issue with the Pan-gesture movement. It does not matter if I scroll down or up, My Animated View card always goes to down. I tried lots of way but I couldn't fix this issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am really new to React-native-reanimated. I am trying to create one custom bottom-sheet like this app. I am using
PanGestureHandler
fromreact-native-gesture-handler
for move the Animated View to go up and down. ForgestureHandler
I am usinguseAnimatedGestureHandler
props fromreact-native-reanimated
. I want to move the Animated View from start point to middle screen and bottom of screen. This is My Bottom sheet start point start, when scroll the card down it should come middle of the screen like this image, again scroll down the card it will come bottom like this image. But I am having issue with the Pan-gesture movement. It does not matter if I scroll down or up, My Animated View card always goes to down. I tried lots of way but I couldn't fix this issue.I shared my code in expo-snacks
This is my all code
Tech information
Beta Was this translation helpful? Give feedback.
All reactions