Releases: banthagroup/fslightbox-react
Releases · banthagroup/fslightbox-react
1.6
1.6.2 Changes:
- Fixed issue with maxYoutubeVideoDimensions prop not working.
1.6.1 Changes:
- disableLocalStorage disables now all local storage operations.
- Improved performance of automatic type detection.
- Fixed issue with lightbox not reopening on one exact slide after slide changing.
- Fixed issue with timeouts called after lightbox close crashing plugin, e.g. after changing slide and immediately closing lightbox.
Changes:
- Lightbox is now initialized on first open not at mount - props updates will be detected until opening lightbox.
- Removed deprecated customSources and videosPosters props.
- Invalid type is no longer saved in local storage.
1.5
- New customAttributes prop - adding any attribute you want to the sources.
- Fixed fullscreen button issue on mobile - you had to tap two times to exit fullscreen.
- By default lightbox does not exit fullscreen on close.
- Added exitFullscreenOnClose boolean prop. Set it to true and lightbox will exit fullscreen on close.
- Fixed issue with youtube video in fullscreen being covered by lightbox.
- Removed will-change css property from lightbox.
1.4
1.4.9 Changes:
- Added option to load only current slide on lightbox open.
1.4.8 Changes:
- Added option to load only current slide on lightbox open.
- Fixed issue with freezing lightbox on double right click.
- Slide number is now not going beyond page when numbers are too large.
1.4.7 Changes:
- Fixed error with remounting opened lightbox.
1.4.6 Changes:
- Removed Roboto font request and changed font to Helvetica.
1.4.5 Changes:
- Fixed issue with reopening lightbox with one source.
1.4.4 Changes:
- Fixed issue with not loading all source after reopening lightbox.
1.4.3 Changes:
- Lazy loading of sources - at start lightbox loads only 3 stage sources (previous, current and next). Next ones are loaded while navigating through lightbox.
1.4.2 Changes:
- No longer need to declare max dimensions of custom sources. Now they are detected from custom sources elements directly.
1.4.1 Changes:
- Fixed issue with closing lightbox when clicking on custom source.
Changes:
- Displaying custom sources like: Vimeo videos, Google maps, text fields, whatever you want.
- Lightbox now detect changing fullscreen via F11 key.
1.3
1.3.2 Changes:
- Added new prop openOnMount. If set to true lightbox will open on mount.
- Initial value of toggler prop no longer decides about opening lightbox on mount.
1.3.1 Changes:
- Added new prop type with which you can declare type of all sources at once.
Changes:
- Added new prop source which works same as slide prop, but instead of taking slide takes source.
- Added new prop sourceIndex which works same as slide prop, but instead of taking slide takes source index.
- Changed functionality of urls prop to sources prop, urls prop is now deprecated.
1.2
Changes:
- Added new prop - types - it's an array with which you can declare urls types manually. It solves problem with automatic type detection of urls without CORS enabled.
1.1
1.1.1 Changes:
- Fixed issue with storing types in local storage in IE11
Changes:
- SSR support
- Improved source type detecting - once url type is detected it will be stored in local storage. Can be disabled via props.
- Update slide buttons svg's
1.0
Introducing React Fullscreen Lightbox Basic!