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

fix(router): going back uses correct nav transition #21301

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

bitflower
Copy link
Contributor

Fixes #21300

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 from the root route to a sibling and back the animation is "forward" is correctly applied. If you go to a sibling a second time the back animation is lost.

Issue Number: 21300

What is the new behavior?

The animation is applied also the second time the user navigates back to the root.

Does this introduce a breaking change?

  • Yes
  • No

@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label May 14, 2020
@liamdebeasi liamdebeasi requested a review from manucorporat May 21, 2020 13:03
@liamdebeasi liamdebeasi changed the title fix root animation behaviour fix(router): going back uses correct nav transition Jun 8, 2020
@liamdebeasi liamdebeasi merged commit c8db0d5 into ionic-team:master Jun 8, 2020
@liamdebeasi
Copy link
Contributor

Merged. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: ion-router back() fails second time (stencil app), including PR+reproduction
2 participants