Skip to content

Bugfix/ion tabs query params#18740

Closed
mobregozo wants to merge 12 commits into
ionic-team:masterfrom
mobregozo:bugfix/ion-tabs-query-params
Closed

Bugfix/ion tabs query params#18740
mobregozo wants to merge 12 commits into
ionic-team:masterfrom
mobregozo:bugfix/ion-tabs-query-params

Conversation

@mobregozo

@mobregozo mobregozo commented Jul 9, 2019

Copy link
Copy Markdown

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

When navigating between tabs and one of the views of the tabs has query params in its URL, the query params are lost when navigating back to that particular Tab.

Issue Number: 18717

What is the new behavior?

When navigating between tabs and one of the views of the tabs has query params in its URL, the query params are still present when navigating back to that particular Tab.

Does this introduce a breaking change?

  • Yes
  • No

@ionitron-bot ionitron-bot Bot added the package: angular @ionic/angular package label Jul 9, 2019

@avining13 avining13 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liamdebeasi

Copy link
Copy Markdown
Contributor

Thanks for the PR! We appreciate the work that went into this.

My only concern about this PR is that it explicitly adds the query params. Are things like fragments going to be lost by making this change?

There is also #18493 which attempts to fix the same issue. Perhaps we can find some solution between the two PRs?

@mobregozo

Copy link
Copy Markdown
Author

hey @liamdebeasi thanks for the feedback!
Maybe I am missing something, but why do you think the fragments are going to be lost?

@liamdebeasi

Copy link
Copy Markdown
Contributor

Thanks for the PR! We appreciate all the time and hard work you put into developing this. We have decided to merge another PR that fixes the same issue (#18493), so I will be closing this one.

The fix will be available in an upcoming release of Ionic Framework. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants