Before version 9.0.0 i used this code to completely disable animation on a toast alert.
Swal.fire({
animation : false,
toast: true,
....
});
Now with version 9.* i tried with this code, and the result it looks the same
Swal.fire({
showClass : { popup : "swal2-noanimation", backdrop : "swal2-noanimation", icon : "swal2-noanimation"},
//hideClass : { popup : "swal2-noanimation", backdrop : "swal2-noanimation", icon : "swal2-noanimation"},
toast: true,
....
});
If i enable also the property hideClass i can't hide the alert with the method Swal.close().
So what is the correct solution to get the same effect as before?