Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Releases: DuDigital/react-native-zoomable-view

v1.1.3

11 Jun 06:25
2575934
Compare
Choose a tag to compare

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

v1.1.1

11 Jun 06:21
2575934
Compare
Choose a tag to compare

Smaller bugfixes in deployment after 1.1.0

v1.1.0

11 Jun 06:21
2575934
Compare
Choose a tag to compare

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.1.2

11 Jun 06:22
2575934
Compare
Choose a tag to compare

Smaller bugfixes in deployment after 1.1.0

v1.0.16

23 Nov 13:48
Compare
Choose a tag to compare
  • Add captureEvent to ReactNativeZoomableViewProps (thanks @jschao )
  • Fix not triggering onDoubleTapBefore (thanks @milansusnjar )
  • Set lastZoom to initialZoom (thanks @dudyn5ky1 )

v1.0.15

09 Dec 18:09
80e3ce0
Compare
Choose a tag to compare
  • Added typescript type definitions (thanks to @adamaveray )
  • Added the captureEvent property to fix react-native modal problems

v1.0.14

28 Aug 14:06
Compare
Choose a tag to compare
  • Make completely compatible with react-native 0.57

v1.0.13

31 May 17:17
Compare
Choose a tag to compare

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

v1.0.12

04 Mar 10:13
2b62c17
Compare
Choose a tag to compare

Bugfixes:

  • Fixes panning issue, when zoomed in

v1.0.9

20 Aug 14:13
Compare
Choose a tag to compare
added expo snack and example repo