2 ms·
The proposal says that Safari "dismisses dialogs when a tab is switched away from" which clashes with what "dismissing a dialog" means to me. To me, "dismiss a
by kalleboo 10y ago
The proposal says that Safari "dismisses dialogs when a tab is switched away from" which clashes with what "dismissing a dialog" means to me. To me, "dismiss a dialog" means hitting cancel/esc so the dialog is gone forever.
What Safari does these days is has replaced the OS modal dialog with an in-tab custom modal dialog (that basically looks like your typical custom "javascript dialog" rounded-corner white DIV with a drop shadow and dimmed page cover), and when you switch tabs, the dialog is still there on the old page, it's just not blocking anything else. In practice this works beautifully.
- JoshTriplett 10y agoFirefox has done that for the last several versions as well.