Releases: laurenashpole/react-inner-image-zoom
Releases · laurenashpole/react-inner-image-zoom
v3.0.2
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
v3.0.0
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
- Add imgAttributes prop (94f9ac6)
BREAKING CHANGES
- replace existing srcSet, sizes, alt, and title props
v2.1.0
v2.0.3
v2.0.2
v2.0.1
v2.0.0
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