Skip to content

v4.0.6

Compare
Choose a tag to compare
@dimsemenov dimsemenov released this 25 Feb 16:08
· 447 commits to master since this release
  • Fix: incorrect zoom pan position in fullscreen when page was scrolled.
  • Fix: fullscreen icon is not updating when changing fullscreen state.
  • Fix: orientation change breaks layout if there are 2 slides.
  • Fix: error when image finished loading (can appear only when low number of items and when rapidly switching
    slides).
  • Fix: issue with RTL layouts (via @louy).
  • Fix: error appears when captionEl:false.
  • closeOnScroll is now triggered only by mousewheel events and only in browsers that support transform. As various browsers trigger scroll event unpredictably (during page load, when bars appear, etc.).
  • Fix: in desktop Safari PhotoSwipe that opens on page load can close (caused by above issue).
  • Added `mainScrollAnimStart" event (via @asadovsky).
  • Some developers prefer to edit CSS file directly without using Sass, that’s why code comments are now visible in .css files too (in dist/ folder), not just in .scss files.

Support PhotoSwipe on Flattr →