Call to Javascript "alert()" causes un-dismissible URL bar to appear

33 Views Asked by At

Normal usage of the my PWA does not show the URL bar, however once making a call to Javascript's alert() function, the URL bar displays and cannot be interacted with. Only leaving the app and coming back to it hides the URL bar again.

Is there a security reason behind this quirk? Is it a bug in PWAs?

Here is a video demonstration: https://imgur.com/a/bE4jUro

1

There are 1 best solutions below

0
morgenshtern On

reloading the page removes the url bar. js open('current_url')

Yeah, the new android Chrome updates brought a bunch of bugs, like this one Trusted Web Activity - Google Chrome not shows the "access to camera and microphone" prompt after version 122