v5.4.4
Fixes
- Empty slide appearing when swiping rapidly through 3-slide galleries (#2103)
Improvements
- Removed
typesVersionrestriction from 4.7, enabling broader TypeScript version support (#2078)
Unclaimed project
Are you a maintainer of PhotoSwipe? Claim this project to take control of your public changelog and roadmap.
Changelog
JavaScript image gallery for mobile and desktop, modular, framework independent
Last updated 4 months ago
Fixes
Improvements
typesVersion restriction from 4.7, enabling broader TypeScript version support (#2078)dataSource param is now optional for PhotoSwipeLightbox.loadAndOpen method, the first gallery is chosen if it's not provided.trapFocus option (by default PhotoSwipe traps tab focus within the dialog, this option allows disabling the functionality) https://photoswipe.com/options/#trapfocuspreventPointerEvent filter (by default PhotoSwipe calls e.preventDefault() during pointer-move events, this filter allows you to disable it over certain elements) https://photoswipe.com/filters/#preventpointereve...Fix: lower version browsers do not support nullish-coalescing syntax https://github.com/dimsemenov/PhotoSwipe/commit/28baa3d0ee356ddf516d1b6c231bb9608ab9b171
navigator.onLine check so the gallery can be used while offline<picture> example by @solemone in https://github.com/dimsemenov/PhotoSwipe/pull/2031Full Changelog: https://github.com/dimsemenov/PhotoSwipe/compare/v5.3.7...v5.3.8
src) rather than srcset. This problem was caused by the prev release (5.3.5).classList.toggle where possible by @hirasso in https://github.com/dimsemenov/PhotoSwipe/pull/2008Full Changelog: https://github.com/dimsemenov/PhotoSwipe/compare/v5.3.5...v5.3.6
Accessibility improvements (via @in0ni).