Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation to settings by URL prevents from going back #25

Open
FerMod opened this issue Sep 1, 2021 · 1 comment · Fixed by #29
Open

Navigation to settings by URL prevents from going back #25

FerMod opened this issue Sep 1, 2021 · 1 comment · Fixed by #29
Labels
bug Something isn't working

Comments

@FerMod
Copy link
Owner

FerMod commented Sep 1, 2021

Describe the Bug

When navigating to the settings screen using the URL in a web browser, does not show the back button.

Expected Behavior

Show the back button, that should navigate to the previous route.

Steps to Reproduce

No response

Aditional Info

No response

@FerMod FerMod added the bug Something isn't working label Sep 1, 2021
@FerMod FerMod added this to To do in Flutter Notes via automation Sep 1, 2021
@FerMod FerMod changed the title Navigation to settigns by URL prevents from going back Navigation to settings by URL prevents from going back Sep 9, 2021
@FerMod
Copy link
Owner Author

FerMod commented Sep 13, 2021

When having set to use the URL path strategy instead of the leading hash strategy causes this issue.

/// A constant that sets the URL strategy of the web app to use paths instead
/// of a leading hash.
static const bool usePathUrlStrategy = false;

When using the path strategy, it treats every introduced URL in the web explorer as a new one.

@FerMod FerMod linked a pull request Sep 13, 2021 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Flutter Notes
  
To do
Development

Successfully merging a pull request may close this issue.

1 participant