Skip to content

fix(vue): correctly determine leaving view when transitioning to a new instance of a previous page - #22655

Merged
liamdebeasi merged 14 commits into
masterfrom
vue-ion-route
Dec 16, 2020
Merged

liamdebeasi merged 14 commits into
masterfrom
vue-ion-route

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Dec 9, 2020 •

Copy link
Copy Markdown
Contributor

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?

Issue Number: resolves #22654 resolves #22658

What is the new behavior?

  • Implemented the same prevRouteLastPathname logic that Ionic React has
  • Use same path matching logic as Vue Router

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions Bot added the package: vue @ionic/vue package label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: ionic vue getting wrong leaving view with dynamic urls bug: ionic vue transition gets incorrect view item on dynamic url

1 participant