You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/28 11:55:14 UTC

[GitHub] [cordova-ios] breautek commented on issue #1047: app hang while showing alert when select dropdown box is actively showing

breautek commented on issue #1047:
URL: https://github.com/apache/cordova-ios/issues/1047#issuecomment-751687642


   > alert box should show on top of the page, the app shouldn't hang
   
   So if I understand correctly, if the native browser select box is opened, and `alert` is called, the alert dialog opens (which is thread blocking until it is dismissed) but it isn't visible because it's displayed under the select modal?
   
   Since you're dealing with native browser UI, this smells like a browser bug. I would try your test case with pure safari using https://jsfiddle.net/ or something.
   
   Potential workaround is to not rely on the browser alert dialog and use the [dialogs plugin](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-dialogs/) instead, which is non-blocking asynchronous.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org