yarn @likashefqet/react-native-image-zoom 3.0.0
Release 3.0.0

latest releases: 4.3.0, 4.2.1, 4.2.0...
18 months ago

3.0.0 (2024-03-24)

New Features

  • Double Tap to Zoom: Enable a double tap gesture for users to seamlessly zoom in and out of images. When double tap functionality is enabled, the automatic Reset Zoom and Snap Back feature will be disabled, allowing users to maintain their desired zoom level without automatic resets. [#33] [#42]
  • Single Tap Functionality: Detect and process single tap gestures to trigger specific actions or functionality as needed within the component. [#36] [#44]
  • Ref Handle: Customize the functionality further by utilizing the exposed reset method. This method allows you to programmatically reset the image zoom as a side effect to another user action or event, in addition to the default double tap and pinch functionalities.

Enhancements

  • Customizable Zoom Settings: Utilize doubleTapScale prop for precise control over double tap zoom level, tailoring the zoom behavior to application requirements.
  • Customizable Functionality: Enable or disable features such as single tap handling (isSingleTapEnabled), and double tap zoom (isDoubleTapEnabled) based on specific application needs.
  • Interactive Callbacks: The component provides interactive callbacks such as onSingleTap and onDoubleTap that allow you to handle image interactions.

For more details, refer to the commit comparison.

Note: This version includes breaking changes, so please ensure to review the updated documentation and adjust your code accordingly before upgrading.

Don't miss a new react-native-image-zoom release

NewReleases is sending notifications on new releases.