Alerts pop up

I have an app that has been in use for 3 years and works flawlessly.
Users enter data via iPad devices - Safary browser.

With the new version of Scriptcase - PHP 7.3, I replaced the template in the application with Midnight and SweetBlue.
Almost everything still works.

But I lost Alerts. Absolutely all Alerts.

Whether I use SweetAlerts or not, I no longer get any alerts on the screen.
As I observed in detail, I noticed that the warning otherwise appears for a split second and disappears immediately.

In desktop mode on the computer, all alerts work and are displayed normally.
These are simple warnings, for filling in mandatory fields.
It only happens on iPad devices. I also used a Firefox browser and the result is the same.

Maybe someone else has similar problems and can help with any advice on how to solve this problem?