Skip to content

Releases: mnogueron/react-easy-panzoom

v0.4.4

13 Oct 20:39
Compare
Choose a tag to compare

Contributors

Thanks to @n1ru4l for his contribution to this new version! 🎉

Changes

  • fix keys not persisted to state after release (#25)
  • add new tests for PanZoom (#30)

v0.4.3

13 Aug 08:40
Compare
Choose a tag to compare

Contributors

Thanks to @n1ru4l for his contribution to this new version! 🎉

Changes

v0.4.2

02 Aug 23:41
Compare
Choose a tag to compare

Changes

  • Fix warning introduced in v0.4.1

v0.4.1

01 Aug 07:18
Compare
Choose a tag to compare

Contributors

Thanks to @emilyzhong for her contribution to this new version! 🎉

Changes

  • add disableScrollZoom feature (#16)
  • fix url to repository for NPM

v0.4.0

29 Jun 07:27
Compare
Choose a tag to compare

Breaking changes

autoCenter no longer animates on componentDidMount but the animation can be manually triggered with

autoCenter(1, true)

See the dedicated story for an example.

Changes

  • add animate optional parameter to autoCenter to enable animation - thanks to @n1ru4l (#11)
  • add zoomSpeed optional parameter to zoomIn and zoomOut (#12)

v0.3.0

09 Jun 09:02
Compare
Choose a tag to compare

Contributors

Thanks to @n1ru4l for all his contributions for this new version! 🎉

Changes

  • add disableDoubleClickZoom feature (#5)
  • add onStateChange prop to support on state change listener (#6)
  • propagate unsupported props to the container div element and propagate event onDoubleClick, onMouseDown, onKeyDown, onTouchStart through props (#7)
  • fix flow types and some other minor code styling (#8)

v0.2.5

02 May 16:23
Compare
Choose a tag to compare

Change

  • Fix faulty missing offsetX and offsetY in getBoundCoordinates in 0.2.4

v0.2.4

02 May 16:09
Compare
Choose a tag to compare

Important changes

This new version introduces a PoC for the rotation. This feature can only be controlled using the rotate method available through the PanZoom ref.

Minor changes

  • Rewrite transform calculation to support rotation
  • Fix Chrome 73 issue with default passive behaviour of onWheel #2
  • Improve overall performances

v0.2.3

11 Apr 22:51
Compare
Choose a tag to compare

Changes

  • add enableBoundingBox prop to support pan bounds
  • update documentation accordingly

0.2.2

25 Mar 23:37
Compare
Choose a tag to compare

Changes

  • fix preventPan for touch events
  • add story for control UI and use for zoomIn, zoomOut, autoCenter, reset and moveByRatio
  • invert key mapping for keyboard events (set to non-inverted control)
  • fix the scaling and position for autoCenter