Skip to content

Releases: xiaolin/react-image-gallery

Enhancement and bug fixes

28 May 19:28
Compare
Choose a tag to compare

Backwards Incompatible changes

  • slideOnThumbnailHover prop removed

Other changes

  • Handle resizing using ReactResizeDetector #266
  • Thumbnails not aligned correctly when items.length changes (#267)
  • Use disabled property of Swipeable to disable swipe (#283)
  • Other bug fixes and improvements

Feature enhancements

14 Jan 23:43
Compare
Choose a tag to compare
  • added additionalClass prop on root node of the component
  • added option to change translate3d to translate css using prop useTranslate3D (default true)
  • added bulletClass and bulletOnClick attribute on images
  • added support for <source> and <picture> for images
  • other bug fixes and enhancements

Improve mobile swipe gesture

12 Nov 06:26
Compare
Choose a tag to compare

Fixes #229, and overall swipe experience when scrolling up/down vs left/right.

Enhancement, and bug fixes

06 Nov 02:21
Compare
Choose a tag to compare
  • Fix bug with swipes not working despite a flick
  • Lock swiping while slide is transitioning
  • other code cleanup/fixes

Bug fixes, and enhancements

04 Nov 00:59
Compare
Choose a tag to compare

Fix issue #217

New Props

  • swipeThreshold: Integer, default 30
    • A percentage of how far the offset of the current slide is swiped to trigger a slide event.
      e.g. If the current slide is swiped less than 30% to the left or right, it will not trigger a slide event.
  • stopPropagation: Boolean, default false
    • Automatically calls stopPropagation on all 'swipe' events.
  • preventDefaultTouchmoveEvent: Boolean, default false
    • An option to prevent the browser's touchmove event (stops the gallery from scrolling up or down when swiping)

Enhancements

24 Jun 00:27
Compare
Choose a tag to compare
  • Support of additional touch events on the slides
    • onTouchEnd: Function, callback(event)
    • onTouchStart: Function, callback(event)
  • Adds onThumbnailClick prop callback
  • Fixed warning for setState when resizing the gallery after unmounting

Performance improvement and bug fixes

04 Jun 23:31
Compare
Choose a tag to compare
  • Fix overlapping transitions when using infinite (this was happening on certain browsers going from the first to the last slide and vise versa)
  • Add prop for onTouchMove #197
  • Fixes navigation padding on mobile #195
  • Add ability to add title attribute to gallery using originalTitle and thumbnailTitle
  • Add esc key support for non native browser fullscreen
  • Minor bug fixes and performance improvement on sliding

Bump react to 15.5.4

11 May 02:33
Compare
Choose a tag to compare

Fix proptype warnings

minor bug fies and improvements

07 May 00:23
Compare
Choose a tag to compare
v0.7.16

Release 0.7.16

Improvement and new prop

16 Mar 02:46
Compare
Choose a tag to compare

Added debounce so when resizing the gallery does not make excessive calls.
Added swipingTransitionDuration prop to allow adjusting the transition while swiping