DioxusLabs / DioxusLabs/dioxus
Is it possible to allow clearing the history in Navigator?
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
## Feature Request
For normal app navigation, it's ok to push/replace routes when going into an area and go_back() to go back a level. But I also want a button at the top to just jump to the Home page on my app. However, it still retains history so the "back" button then takes you somewhere unexpected.
The context is that I'm building a PWA to run on a mobile device.
If I press back (via the Android OS back button) while on the home screen, I want to exit the app, not use the router. Perhaps there's already a solution for this, but having the ability to clear the router history when on the home screen feels like an easy win.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.