Skip to content

Releases: dimsemenov/PhotoSwipe

v4.0.3

03 Jan 21:41
Compare
Choose a tag to compare
  • Fix: dynamic adding/removing slides issue.
  • During zoom/pan image position is now rounded (#704). Not rounded position could cause not sharp image on high-dpi screens
  • Hide arrows and counter if there is only one slide.
  • Prevent page scroll if closeOnScroll:false.
  • Added options that allow to parse share links output.
  • Added event that triggers when share link is clicked.
  • Configurable zoom level for double-tap zoom.
  • Prettified, commented and structured Sass files.
  • Added documentation on how to add/remove/edit slides dynamically.

More info in commit history.

v4.0.2

21 Dec 16:09
Compare
Choose a tag to compare
  • Now you can add HTML content in slides, more info in documentation.
  • Fix: links trigger during or after drag gesture.
  • Allow dragging or panning only via left mouse button.
  • Double tap zooms to 1.5x if initial zoom is less than 0.7x.
  • Force paint on bg and root element (opening transition).

v4.0.1

16 Dec 18:51
Compare
Choose a tag to compare
  • Fix: in IE8 3rd image not always appended.
  • Minified assets (images, svg).
  • Improved keyboard events handling. Esc key handler moved to keydown. Keyup listener removed entirely. Added e.preventDefault() to keyboard events.
  • Fix: commonjs/browserify issue.
  • Improved Sass files, added Autoprefixer, path to assets can be configurable.
  • Fix: in old Android (<4.4) tap event could trigger twice.

More info in commit history.