Skip to content

react-native-gesture-image-viewer@2.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jan 16:16
· 2 commits to main since this release
413b343

Patch Changes

  • 1cee8ad: fix(android): prevent image jump when lifting finger during pinch zoom

    Filter out sudden focal point changes when a finger is lifted during pinch-to-zoom gesture.
    This prevents the image from snapping to the remaining finger's position.

    • Add lastFocalX/lastFocalY shared values to track focal point
    • Filter focal point changes exceeding 50px threshold
    • Maintain smooth zoom behavior while preventing jump artifacts

    Related issue: #134