4 ms·
I wish this full-screen modal feature would disappear. I've lost track on the number of times I pressed back to close a modal on mobile because I thought it was
by g_b 8y ago
I wish this full-screen modal feature would disappear. I've lost track on the number of times I pressed back to close a modal on mobile because I thought it was a new page.
Please make it clear that a dialog is a dialog.
- slow_donkey 8y agoThis is interesting, in a native app the modal would close but unintuitively most sites don't push modals to history.
- TeMPOraL 8y agoIn a native app, such modal would be pushed on the activity stack (on Android; I assume iOS has a similar pattern). It would essentially be a native equivalent of a new page. Modern web developers are, for some reason, more afraid of having multiple pages than they are of black death.
- saagarjha 8y agoiOS does not push modals onto the navigation stack by default.
- half-kh-hacker 8y agoTo be fair, iOS doesn't have a universal 'back' button, so you wouldn't reach for it to exit a modal anyway.
- saagarjha 8y agoSure, but the general guideline for modals is to have a "Cancel" or "Done" bar button item somewhere to exit. This is a different action than popping a view controller off the navigation stack.
- stereobooster 8y agoThanks for this response, this is very helpful. I will update post with this concern