Y
Hacker News
new
|
ask
|
show
|
jobs
by
thewavelength
3344 days ago
The opening of the modal is being pushed to Browser history. This confuses me as I don't expect modals to be in the history.
Is this caused the way it is achieved with CSS only or is this actually wanted?
1 comments
jessekorzan
3344 days ago
Just meant to be simple for prototype purposes... And I agree that typically you wouldn't want a UI event like a modal to be part of the history().
link
moron4hire
3344 days ago
First of all, modals create a bad user experience. But if you're going to use them, users on Android expect to be able to use the back button to cancel out of things.
link
jessekorzan
3343 days ago
Yes but... This modal explodes. Which, in most cases with design patterns, should only be used when appropriate. Right tool for the right job.
link