sweetalert2 / ngx-sweetalert2

Declarative, reactive, and template-driven SweetAlert2 integration for Angular
MIT License
652 stars 94 forks source link

Padding-Right added to body on swal fire #179

Closed AntonGrekov closed 3 years ago

AntonGrekov commented 3 years ago

When firing regular(simple swal window) an inline-style: style="padding-right: 16px" is added to body tag. I found related issues in sweetalert home repository. As it's said this issue is fixed in later releases of sweetalert

https://github.com/sweetalert2/sweetalert2/issues/678 https://github.com/sweetalert2/sweetalert2/issues/1168

I guess that padding is needed to compensate vertical scroll bar, is there a way to disable that behaviour via swal options ?

limonte commented 3 years ago
  1. https://sweetalert2.github.io/
  2. Ctrl + F
  3. scrollbar
AntonGrekov commented 3 years ago

Ty !!!!