I would like to prevent scrolling on the active page while swiping back on iOS. My initial thought was to use ionViewWillLeave() and set the overflow to hidden. That works but I cannot hook into the view if the page transition does not complete (the user decides to stay on the current page instead of navigating back). Is there a way to hook into the active when not animating to remove the overflow style applied above? ionViewWillEnter() does not fire when the page never left.
I solved my problem invasively and would love a more elegant solution. Iām creating an event listener for the transitionend event and removing overflow: hidden
I found a solution. In the Ionic Conference app (Ionic 2 RC4). In the config.xml I copied the last couple things to my Ionic project. And now the swipe back is good.