Skip to content

Releases: laurenashpole/react-inner-image-zoom

v3.0.2

22 Jul 06:05
7320853
Compare
Choose a tag to compare

3.0.2 (2022-07-22)

Bug Fixes

  • Better targeting for non-touch drag close button (0d00b5f)
  • Image: Change CSS transitions for images. (a561929)
  • Image: The Image transition CSS for visibility is modified to prevent overrun. (4b417a3)
  • InnerImageZoom: Cancels the fade out when the mouse enters. (cfeba20)
  • InnerImageZoom: Fix a bug in Firefox when the cursor is dragged to the left side of the window. (75b2a66)
  • InnerImageZoom: Remove temporary debug code and test file. (cc77b55)
  • InnerImageZoom: Remove temporary test file. (6e9c315)
  • Only fire full handleClose function on touch devices (51cafee)

v3.0.1

12 Jun 21:42
3506dac
Compare
Choose a tag to compare

3.0.1 (2022-06-12)

Bug Fixes

  • Added prop-types to peerDependencies (37581b5)

v3.0.0

12 Jan 04:10
41ff16b
Compare
Choose a tag to compare

3.0.0 (2022-01-12)

Bug Fixes

  • Added stopPropagation on touchmove (5005561)
  • Show close button on moveType drag (74484a4)
  • InnerImageZoom.js: cleans up the zoom out timer on unmount and zoom in (498bf39)

Features

BREAKING CHANGES

  • replace existing srcSet, sizes, alt, and title props

v2.1.0

30 Aug 22:01
0c788a9
Compare
Choose a tag to compare

2.1.0 (2021-08-30)

Bug Fixes

  • improving title prop description in readme (dd5bbcb)
  • readme typo (6274f20)

Features

  • Add title attribute as an optional prop (d873926)

v2.0.3

05 Aug 05:39
Compare
Choose a tag to compare

2.0.3 (2021-08-05)

Bug Fixes

  • Fix fullscreen mobile positioning with naturalWidth and naturalHeight (640a29a)
  • Use touch-action to prevent scroll on touchmove and drag (e0ccc39)

v2.0.2

15 Jun 02:36
b03a8fd
Compare
Choose a tag to compare

2.0.2 (2021-06-15)

Bug Fixes

  • Better zoom positioning on fullscreen on mobile (2f6e007)
  • Persist zoomed image if zoomPreload set (4c3ce4c)

v2.0.1

12 Mar 05:20
f95d804
Compare
Choose a tag to compare

2.0.1 (2021-03-12)

Bug Fixes

  • Zoom scale bug fix, dependabot package upgrade (a7cb52d)

v2.0.0

03 Mar 07:14
7af401c
Compare
Choose a tag to compare

2.0.0 (2021-03-03)

Code Refactoring

  • Rewrite using React hooks (5bd48c7)

Features

  • Accept width and height props and generate optional image spacer (8d13178)
  • Add hide props for hint and mobile close button (d8336c8)

BREAKING CHANGES

  • Now requires React v16.8.0 or above
  • Renamed startsActive to zoomPreload

v1.3.0

24 Nov 02:40
a8919b0
Compare
Choose a tag to compare

1.3.0 (2020-11-24)

Features

  • Added scale prop for zoomed image (bc1f0da)

v1.2.0

21 Nov 02:06
5351061
Compare
Choose a tag to compare

1.2.0 (2020-11-21)

Features

  • Zoom on hover, misc package upgrades (23087f8)