bug: Navigation: chain of push/replace
See original GitHub issueBug Report
Ionic version:
[ ] 4.x [x] 5.x
Steps to reproduce:
https://github.com/Elardzhi/Ionic-React-navigation.git
Description:
In the demo repository, we have a chain of history.replace
and history.push
.
Page 1 -> Page 2 : history.replace, no animation, working as expected
Page 2 -> Page 3 : history.push, transition with animation, working as expected
Page 3 -> Page 4 : history.replace, animation exists, not expected
Page 4 -> Page 1 : history.replace, animation exists, not expected
Page 1 -> Page 2 : history.replace, URL is updated, but no transition to Page 2
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Flutter Navigation push Replacement is not working when not ...
I want to use this (Push Replacement, will not going back), but it doesnt work and act like normal Push: Navigator .of(context) .pushReplacement...
Read more >Navigate to a new screen and back - Flutter documentation
In Flutter, a route is just a widget. This recipe uses the Navigator to navigate to a new route. The next few sections...
Read more >push and replace flutter Code Example
Queries related to “push and replace flutter” · custom appbar flutter · pushreplacement flutter · flutter push navigation · flutter navigator.
Read more >2.10 ERROR SYSTEM - Eso.org
Errors are generated in a cascade sequence until either the error is ... Navigation through the list of errors is supported by the...
Read more >Understanding Flutter navigation and routing - LogRocket Blog
Flutter Navigator class · Navigator provides more methods, including *pushReplacement* , that make arguments similar to · push . It will replace ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@elylucas where is there documentation in ionRouterContext? running into similar issues
Also, you can specify the routerDirection programatically by using our ionRouterContext to do the transition:
const ionRouterContext = useContext(IonRouterContext);
…