Skip to content

Releases: dimsemenov/PhotoSwipe

v5.4.4

24 May 15:18
Compare
Choose a tag to compare
  • Bugfix: an empty slide may appear if there are 3 slides in total and the user swiped through 4 slides rapidly #2103
  • Remove restriction of typesVersion to 4.7 #2078

Full Changelog: v5.4.2...v5.4.4

v5.4.2

29 Sep 08:32
Compare
Choose a tag to compare
  • dataSource param is now optional for PhotoSwipeLightbox.loadAndOpen method, the first gallery is chosen if it's not provided.
  • @BeeMargarida made their first contribution in #2069

v5.4.1

17 Sep 04:45
Compare
Choose a tag to compare

v5.4.0

08 Sep 05:39
Compare
Choose a tag to compare

Fix: lower version browsers do not support nullish-coalescing syntax 28baa3d

v5.3.9

02 Sep 08:19
Compare
Choose a tag to compare

What's Changed

  • fix: lower version browsers do not support optional chain syntax by @zt123123 in #2058

New Contributors

Full Changelog: v5.3.8...v5.3.9

v5.3.8

03 Jul 09:16
Compare
Choose a tag to compare
  • Removed navigator.onLine check so the gallery can be used while offline
  • Added custom contentRemove handler to <picture> example by @solemone in #2031

Full Changelog: v5.3.7...v5.3.8

v5.3.7

29 Mar 05:49
Compare
Choose a tag to compare
  • Typescript fix: add missing type parameter constraints by @Rugvip in #2028
  • Docs update: webp example, update custom-content.md by @thomasnavarro in #2024

New Contributors

Full Changelog: v5.3.6...v5.3.7

v5.3.6

24 Feb 04:25
Compare
Choose a tag to compare
  • Fixed an issue that caused lazy-loading of the full image (from src) rather than srcset. This problem was caused by the prev release (5.3.5).
  • Use classList.toggle where possible by @hirasso in #2008

Full Changelog: v5.3.5...v5.3.6

v5.3.5

01 Feb 06:48
Compare
Choose a tag to compare

v5.3.4

22 Nov 05:29
Compare
Choose a tag to compare

Accessibility improvements (via @in0ni).

  • added ARIA attributes to follow 'carousel' pattern,
  • set/unset aria-hidden according to active slide,
  • set id=pswp__items, and ensure buttons have aria-controls pointing to it