Skip to content

Commit

Permalink
fix: try set android pressmove
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Sep 3, 2023
1 parent 5a4c46e commit abefc68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fiber/src/native/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef<View, Props>(
// 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
Expand Down

0 comments on commit abefc68

Please sign in to comment.