csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 96 forks source link

In the "books" example the ability to navigate (forward button) is lost when clicking the back button in the browser #349

Closed jamolina2021 closed 2 years ago

jamolina2021 commented 2 years ago

Hi,

In the "books" sample application, being in http://localhost:49752/#/books/popular, if I click on Authors, then on Settings, with the Back Button of the browser I can go back to Authors and to Books, at that moment, with the Forward Button, I can go back to Authors and to Settings , but if, being in books/popular url, I click the Back Button again, the browsing history is lost, and I can no longer go to Authors and Settings with the Forward Button. Please watch the following video: https://recordit.co/yumY1qir40 Is this a bug?

Thanks for the help.

Regards, Jose

csells commented 2 years ago

@jamolina2021 when I watch the video, the forward button seems to behave correctly. what am I missing?