From abefc6812d017562d365b34937e7320cf5639615 Mon Sep 17 00:00:00 2001 From: Cody Bennett <23324155+CodyJasonBennett@users.noreply.github.com> Date: Sun, 3 Sep 2023 07:13:11 -0500 Subject: [PATCH] fix: try set android pressmove --- packages/fiber/src/native/Canvas.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fiber/src/native/Canvas.tsx b/packages/fiber/src/native/Canvas.tsx index 600b46e14b..b7bcf5f271 100644 --- a/packages/fiber/src/native/Canvas.tsx +++ b/packages/fiber/src/native/Canvas.tsx @@ -115,7 +115,8 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef( // Overwrite onCreated to apply RN bindings onCreated: (state: RootState) => { // Bind events after creation - setBind(state.events.handlers) + const { onPressMove, ...handlers } = state.events.handlers as any + setBind({ ...handlers, android_rippleConfig: { onPressMove } }) // Bind render to RN bridge const context = state.gl.getContext() as ExpoWebGLRenderingContext