Limon Monte
Limon Monte
Thanks for requesting this feature @DaniSimeonov It is indeed under consideration, but I'd prefer to wait a year or so π so the new browser API will settle down and...
:tada: This issue has been resolved in version 11.20.0 :tada: The release is available on: - [npm package (@latest dist-tag)](https://www.npmjs.com/package/sweetalert2/v/11.20.0) - [GitHub release](https://github.com/sweetalert2/sweetalert2/releases/tag/v11.20.0) Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:
It took me less than a year to address this request π ```js Swal.fire({ ... topLayer: true }) ``` π
It's still w/o a dialog element, but it's not necessary to use it for showing elements in the top layer.
how do you include sweetalert2 in your code?
In order to comply with your CSP, you have to use the unstyled version of `sweetalert2`: ```js import Swal from 'sweetalert2/dist/sweetalert2.js' ``` and include styled in your app CSS something...
I see, thanks for the detailed feedback. Unfortunately, there are many places in which `element.style` is being used. For now you'll have to go with `style-src 'unsafe-inline'`, but I'll keep...
:tada: This PR is included in version 11.24.1 :tada: The release is available on: - [npm package (@latest dist-tag)](https://www.npmjs.com/package/sweetalert2/v/11.24.1) - [GitHub release](https://github.com/sweetalert2/sweetalert2/releases/tag/v11.24.1) Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:
Thank you for nice bug report @lgc-4
Oh, good news I guess. From https://bugzilla.mozilla.org/show_bug.cgi?id=1795622 > For anyone itching to try style queries in Firefox, you can now set the `layout.css.style-queries.enabled` flag to `true` in about:config. I've just...