-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
BeamLocation
has no listeners after beaming back
#463
Comments
Hi @jmysliv 👋 While refactoring in the past few weeks, I did notice that |
@slovnicki thanks for the quick reply! I'm waiting for confirmation then, let me know if I could help somehow. |
Hey @jmysliv Thanks for pointing this out! 💙 |
@slovnicki thanks! When could I expect it to be released? |
@jmysliv I expect to publish the next release this week, but you can try it out by depending on beamer directly from GitHub; # in your pubspec.yaml
beamer:
git:
url: https://github.com/slovnicki/beamer.git
path: package |
Describe the bug
When beaming from location
A
to locationB
and then beaming back to locationA
, locationA
has no listeners. So when locationA
is a location with a custom state and we want to navigate fully declaratively we can't cause the_updateFromLocation
listener callback is not registered.I've managed to work around this by overriding the
beamBack
method and registering the listener manually, but I'm not sure if that's a proper solution.Beamer version: 1.1.0
Expected behavior
After beaming back to the location, it should have the listener registered, so I can navigate in that location fully declarative.
The text was updated successfully, but these errors were encountered: