React Native Zoomable View Versions Save

A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.

v1.1.3

2 years ago

First really working version after v1.1.0. Improved rollup bundling and deployment.

v.1.1.2

2 years ago

Smaller bugfixes in deployment after 1.1.0

v1.1.1

2 years ago

Smaller bugfixes in deployment after 1.1.0

v1.1.0

2 years ago

Feature update with migration to typescript. The API remained the same. No real changes there.

Only one small potential hickup:

  • If you are using the onZoomBefore or onZoomAfter callback, make sure to check it's still working correctly for you. It was previously only triggered on pinch to zoom, but not on doubleTap zooming. This is now corrected and it triggers the same for pinch2zoom and doubleTap.

Apart from that there should not be any changes necessary for you.

Big news: We finally have events: We implemented new event methods to manually zoom, shift from outside of the component. (see https://github.com/DuDigital/react-native-zoomable-view#events ) This way you can zoom, shift and change the way your app interacts with react-native-zoomable-view. (Think dedicated controlbuttons, zooming after an event, ...)

We have updated the example repo to show how it works and implemented controlbuttons there: https://github.com/DuDigital/react-native-zoomable-view-example

Features:

  • MR-56 - Added a doubleTapZoomToCenter property, that allows zooming to center only on double tap (thanks @kristijantomic for the goundwork here)
  • Implemented new methods events to manually zoom, shift from outside of the component.

Bugfixes/Optimizations:

  • MR-53 - fixed return type for onZoomBefore, onZoomAfter and onZoomEnd (thank you arelstone )
  • MR-57 - Added a missing type definition for onStartShouldSetPanResponder/onMoveShouldSetPanResponder functions (thanks @npoussu )
  • MR-61 - Fix for wrong offset values when onDoubleTapAfter is fired (thanks ajayg415

Improvements:

  • Migrated the codebase to typescript
  • Doc improvements

v1.0.16

3 years ago
  • Add captureEvent to ReactNativeZoomableViewProps (thanks @jschao )
  • Fix not triggering onDoubleTapBefore (thanks @milansusnjar )
  • Set lastZoom to initialZoom (thanks @dudyn5ky1 )

1.0.15

4 years ago
  • Added typescript type definitions (thanks to @adamaveray )
  • Added the captureEvent property to fix react-native modal problems

v1.0.14

4 years ago
  • Make completely compatible with react-native 0.57

v1.0.13

4 years ago

New Features: [] Long press handling, original offsetX and offsetY (thanks @atomheartother ) [] Set the initial values when zoom is disabled (thanks @skantus )

v1.0.12

5 years ago

Bugfixes:

  • Fixes panning issue, when zoomed in

v1.0.9

5 years ago