You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my app (with several beamers) and in the bottom_navigation_multiple_beamers example, I had an issue after refreshing the page. The url is updated to the wrong path.
Beamer version:
master
To Reproduce
Just refresh the page.
Here a screencast of the issue with the bottom_navigation_multiple_beamers example
Expected behavior
The path should be the same.
Desktop (please complete the following information):
Chrome 101.0.4951.64 on MacOS
Thank for your support and this great package ! 馃ぉ
The text was updated successfully, but these errors were encountered:
It seems the issue comes from the NotFound location use at this line in the example.
The actual implementation
/// Default location to choose if requested URI doesn't parse to any location.classNotFoundextendsBeamLocation<BeamState> {
/// Creates a [NotFound][BeamLocation] with /// `RouteInformation(location: path)` as its state.NotFound({String path ='/'}) :super(RouteInformation(location: path));
@overrideList<BeamPage> buildPages(BuildContext context, BeamState state) => [];
@overrideList<String> get pathPatterns => [];
}
Thanks for creating an issue and solving it 馃槷? 馃挋
I've also seen some strange behavior when using similar custom locationBuilders and have a feeling that it would work if BeamerLocationBuilder was used instead. I will take a closer look at the example and your solution tomorrow morning and will get back to you. If I verify that your solution solves the issue, would you be interested in making a PR?
Hello 馃憢
Describe the bug
In my app (with several beamers) and in the
bottom_navigation_multiple_beamers
example, I had an issue after refreshing the page. The url is updated to the wrong path.Beamer version:
master
To Reproduce
Just refresh the page.
Here a screencast of the issue with the
bottom_navigation_multiple_beamers
exampleExpected behavior
The path should be the same.
Desktop (please complete the following information):
Chrome 101.0.4951.64 on MacOS
Thank for your support and this great package ! 馃ぉ
The text was updated successfully, but these errors were encountered: