-
const panHandler = useAnimatedGestureHandler({
onActive(event) {},
onEnd() {},
});
<PanGestureHandler
ref={drawer}
simultaneousHandlers={scroll}
shouldCancelWhenOutside={false}
onGestureEvent={panHandler}
onHandlerStateChange={} // do I still need it?
>
// other components
</PanGestureHandler> |
Beta Was this translation helpful? Give feedback.
Answered by
jgonet
Jun 17, 2021
Replies: 1 comment
-
It's not needed for |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chj-damon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not needed for
useAnimatedGestureHandler
so you can omit this property if you don't use it for other purposes.