- `overflow: hidden` on body makes the page content jump as the scrollbar (dis)appears. There's an issue for that [0]
- `sweet-overlay` div has a different opacity on each open for some reason? I've seen 1.01 through 1.05, so they are all effectively 1, but it just seems weird to me… It probably has something to do with the `fadeIn` function [1]. Was there any reason not to use CSS transitions for fading?
There's a fork called sweetalert2 [2] with more active development [3]. It has these two things (and probably many others) fixed.
Noticed a few weird things though:
- `overflow: hidden` on body makes the page content jump as the scrollbar (dis)appears. There's an issue for that [0]
- `sweet-overlay` div has a different opacity on each open for some reason? I've seen 1.01 through 1.05, so they are all effectively 1, but it just seems weird to me… It probably has something to do with the `fadeIn` function [1]. Was there any reason not to use CSS transitions for fading?
There's a fork called sweetalert2 [2] with more active development [3]. It has these two things (and probably many others) fixed.
--
[0] https://github.com/t4t5/sweetalert/issues/590
[1] https://github.com/t4t5/sweetalert/blob/master/dev/modules/h...
[2] https://limonte.github.io/sweetalert2/
[3] https://github.com/limonte/sweetalert2/graphs/contributors