Skip to content

Releases: samuelmeuli/react-magnifier

v3.0.4

30 Sep 18:57
a1bf74f
Compare
Choose a tag to compare

Changed:

  • Target ES3 for compatibility with older browsers (#13) 1beafc1

v3.0.3...v3.0.4

v3.0.3

15 Aug 19:20
7c8b8cd
Compare
Choose a tag to compare

Fixed:

  • Type error when using the component because of a missing default for the zoomImgSrc prop

v3.0.2

15 Aug 18:57
28cba09
Compare
Choose a tag to compare

Fixed:

  • Prop type definitions
  • Variable name in README

v3.0.1

11 May 11:34
v3.0.1
28773f6
Compare
Choose a tag to compare

Fixed:

  • Image paths with spaces can now be used (#11)

v3.0.0

18 Mar 00:52
v3.0.0
1063960
Compare
Choose a tag to compare

Changed:

  • Migrated codebase to TypeScript
  • Updated Storybook to v5

Fixed:

  • Event listeners are now removed correctly

v2.1.2

14 Jan 13:14
v2.1.2
66037d6
Compare
Choose a tag to compare

Fixed

  • Image size recalculation bug on touch devices (#9)

v2.1.1

25 Dec 10:07
v2.1.1
c640a8e
Compare
Choose a tag to compare

Fixed:

  • Scroll event listener is now removed properly (#7)
  • Image bounds are recalculated when entering the image with mouse/touch (fixes problems e.g. in carousel components, #5)

v2.1.0

26 Nov 10:55
v2.1.0
1d00a14
Compare
Choose a tag to compare

Added:

  • className prop (will be applied to the image wrapper)
  • All remaining props are now passed to the <img> element (#4)

Fixed:

  • Image bounds now get re-calculated when the scroll event is fired in any element

v2.0.1

07 Nov 16:58
v2.0.1
ebbde83
Compare
Choose a tag to compare

Bug fixes:

  • Fixed incorrect magnifying glass position after scrolling

v2.0.0

05 Nov 14:08
v2.0.0
61016b1
Compare
Choose a tag to compare

Breaking changes:

  • Changed magnifying behavior close to the image borders (see #3)

Other changes:

  • New mgShowOverflow prop (see README and new Storybook example)
  • New borderWidth prop (see README)
  • Performance improvements
  • Updated dependencies (including major Babel and Storybook versions)