From c4ffd83633a068028b81880ae884ebe124023bff Mon Sep 17 00:00:00 2001 From: Elliott Kember Date: Wed, 5 Aug 2026 13:09:35 +1200 Subject: [PATCH 1/2] Fix the crash on adding a touch --- src/ReactNativeZoomableView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReactNativeZoomableView.tsx b/src/ReactNativeZoomableView.tsx index 4b58561..1aa465c 100644 --- a/src/ReactNativeZoomableView.tsx +++ b/src/ReactNativeZoomableView.tsx @@ -413,7 +413,7 @@ const ReactNativeZoomableViewInner: ForwardRefRenderFunction< // `AnimatedTouchFeedback.onAnimationDone`, which never mounts when the // render gate fails. if (!visualTouchFeedbackEnabled || !doubleTapDelay) return; - touches.value.push(touch); + touches.value = [...touches.value, touch]; setStateTouches([...touches.value]); }); From c44a0e4ef7cf7b418fa13b94b9409ebcd0bcc7dc Mon Sep 17 00:00:00 2001 From: Elliott Kember Date: Wed, 5 Aug 2026 13:14:22 +1200 Subject: [PATCH 2/2] Beta 4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e16f56..d044804 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openspacelabs/react-native-zoomable-view", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.", "main": "lib/commonjs/index", "module": "lib/module/index",