Open localbasejp opened 5 months ago
Hey @localbasejp thanks for your report. I can confirm that the behaviour of the Navigation to a page that is part of the NavBar is not the expected. I will send this to our technical team so they can take a look. They will keep you updated on this thread. Have a great day!
@ignalauret this is still an issue but it appears no one is assigned to this issue.
@ignalauret Are there already any updates on solving the issue? Thanks in advance!
+1 for visibility, this is a very frustrating bug that makes parameters unusable in many situations :(
Hi. I confirmed with the team and this is the expected behavior. Pages with nav bars should be considered as the same page (similar to a tab bar view) with the current design. We should give a user a better warning if they are trying to pass parameters to a page with parameters. We are doing this because we don't want to avoid page rebuild and page transition effects when you switch pages using the nav bar.
That doesn't make sense at all. Navigation is between pages, not a tab control. Just rebuild the page if the parameter changes, EZ.
A friend of mine said "I can't believe you are even able to pass a parameter like this - FF params have not typically been allowed on pages with a navbar"
I had to figure out a different workaround (OnPageLoad I just reload the view every time...)
Wish this worked. I agree it makes no sense to me that this couldn't be possible
I think the intended use case for this needs to be better documented.
Has your issue been reported?
Current Behavior
When I navigate to a page with a NavBar using a button action everything seems fine. The problem starts when I try to pass some parameters to that page. Then, it navigates to that page, parameters seem to be present in there, but the navbar is absent. Tried to debug it with a console, but it shows nothing wrong. Also tried with different NavBar and the issue stays the same. The moment I stop passing parameters to that page while navigating, it works as it should, showing navBar. Do You have any ideas what I'm doing wrong?
Expected Behavior
NavBar is displayed even after specifying parameters and transitioning to Page B
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITFfl/Lf8ZNgrttY1a6JbsEwhiI4Nm0cTeQvitZCaxAaI+PuO7QfduCkUxZVcuqHYAhDfWGJ/T0y+Nr7v+zXLuw7Aymafr5fypZTUxDhVlK6b5iKCZG8SkdBL8NPJna11ruNnB1DBPpecl4f1Ga6CuuAb3qCf9qOYwx5e6fDbOY=
Context
Service operability will be significantly impaired.
Visual documentation
https://github.com/FlutterFlow/flutterflow-issues/assets/93519126/878d0904-4c9b-4c43-82e0-a2c0e0952aaf
Additional Info
No response
Environment
General
Relative to the time the changes were made, data was lost within
When following my steps to reproduce, data loss happens