0

I am working on ionic project , where I have used an ionic model ,

My model is dismissed on clicking anywhere on windows but

when I press browser back button model doesn't dismiss and stay there .

georgeawg
  • 48,608
  • 13
  • 72
  • 95
Anurag Ranjan
  • 105
  • 13

1 Answers1

0

Contrary to what one might expect, this is not currently a feature of the Ionic 3 modal. The feature request is here, please upvote it!

A possible solution is to intercept the hardware back button using the Platform plugin, e.g. platform.registerBackButtonAction() and run your own code. See this question.

Alex Steinberg
  • 1,426
  • 13
  • 25