Closed vnihoul77 closed 2 years ago
We're looking to display a SweetAlert popup in fullscreen. Here's what we tried so far:
CSS
.fullscreen-swal{ z-index: 9999 !important; width:100vw !important; height:100vh !important; }
JS
customClass: "fullscreen-swal", autoHeight: false
The popup is not showing almost (70%) fullscreen, so it's bigger but not fullscreen. What am I missing?
Swal.fire({ grow: 'fullscreen' })
Thanks for your answer, however using this parameter still leaves borders/space around the modal. Screenshot: https://imgur.com/a/FTR9xXq
We're looking to display a SweetAlert popup in fullscreen. Here's what we tried so far:
CSS
JS
The popup is not showing almost (70%) fullscreen, so it's bigger but not fullscreen. What am I missing?