Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

FsLightbox multiple problems on Swiper and Blazor WASM

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.

Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(