Releases: dimsemenov/PhotoSwipe
Releases · dimsemenov/PhotoSwipe
v5.4.4
v5.4.2
dataSource
param is now optional forPhotoSwipeLightbox.loadAndOpen
method, the first gallery is chosen if it's not provided.- @BeeMargarida made their first contribution in #2069
v5.4.1
- Added
trapFocus
option (by default PhotoSwipe traps tab focus within the dialog, this option allows disabling the functionality) https://photoswipe.com/options/#trapfocus - Added
preventPointerEvent
filter (by default PhotoSwipe callse.preventDefault()
during pointer-move events, this filter allows you to disable it over certain elements) https://photoswipe.com/filters/#preventpointerevent
v5.4.0
v5.3.9
What's Changed
New Contributors
- @JPustkuchen made their first contribution in #2053
- @hzpeng57 made their first contribution in #2055
- @zt123123 made their first contribution in #2058
Full Changelog: v5.3.8...v5.3.9
v5.3.8
- 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
- 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
- @Rugvip made their first contribution in #2028
- @thomasnavarro made their first contribution in #2024
Full Changelog: v5.3.6...v5.3.7
v5.3.6
- Fixed an issue that caused lazy-loading of the full image (from
src
) rather thansrcset
. 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
- Fix rtl issues by @Mister-Hope in #2007
- Fix types and strictNullChecks by @Tw1N88 in #2009