you only need to add these line
heightAuto: false,
Example -
Swal.fire({ heightAuto: false, })`
by these changes sweetalert issue will solve.