NavController#pop without animation

Looks like in the new Ionic v4 the options for disabling animation when using


has unfortunately been removed. However in the source code of the StackController in its implementation of pop which is called via NavControllers pop the framework will eventually use navigateBackward and will pass in the view.savedExtras which should allow someone to disable this pop animation. However these RouteViews are created via this controller and are not given an option to be created with these savedExtras

AND unfortunately I am unable to directly inject the StackController into my class to perform this logic myself. Does anyone have a solution here to perform this? I am unable to directly use navigateBackward because in edge cases another view is navigated to from this page and added to the history and I don’t want to go back in the history but back in the stack.


1 Like