There are multiple problems when trying to implement FsLightbox on our Blazor WASM project.
1. For some reason const lightbox = new FsLightbox(); does not automatically registers itself on data-fslightbox attribute specifically have to use lightbox.props.sources = document.querySelectorAll('[data-fslightbox="screenshots"]'); after initializing.
2. Script 'dissappears' Swiper Slides' when used in SwiperJs.
3. For some reson in no circumstances after initialization script, items in swiper slide (FsLightBox galleries) do not open in LightBox, alway opens in new window! Only way to view gallery is to specifically call lightobx.open()
4. Blazor WASM forces Youtube to use youtube-nocookie.com domain, which in return causes videos ot not to load, hangs on spinner ....
Would like to purchase pro version of FsLightbox but these problems in current project prevents it doing so...
Thank you.
Hi,
Thank you for reaching out to us.
Could you please attach the code you are using?
You can find usage examples in our documentation.
https://preview.keenthemes.com/html/metronic/docs/general/fslightbox
Regards,
Lauris Stepanovs,
Keenthemes Support Team