Sometimes, when jumping from page A to page B and then from page B to page C, it is desirable to exit page B and return directly to page A when returning from page C.
For example, when jumping from page B to page C, the following methods need to be executed:
navigator.pop()
navigator.push(.PageC)
However, there is no transition animation for page switching when jumping to page C using the above method.
Can a method similar to popAndPush(.PageC) be implemented? Enable page C to have normal transition animations.