I’m using a
IonModal on my page. When the modal is open and the user clicks back (on browser back button). It goes back to the previous page (instead of closing the modal / or doing nothing).
How can I prevent Ionic from doing this behavior?
I want either
- Close the modal (with back)
- Do nothing