Ionic, fire event before segment changed

I use segments of ionic.
Sometime I need to catch the change-segemnt, and alert to user confirmation-message. Should be becouse he didn’t save changes. And then leave at the page.
For the confirmation logic I need the last view to not be removed before I confirm, becouse I need to use its functions.
Is there any way to fire event before segment change?

1 Like

why no one of ionic team takes care of this issues?
For me currently i have to workaround by using “settimeout” for ionchange

Did you create an issue on Github for this feature request? Otherwise “ionic team” doesn’t know about it…