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

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().
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.
Yes but... This modal explodes. Which, in most cases with design patterns, should only be used when appropriate. Right tool for the right job.