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(vue): incorrect view rendered when using router.go(-n) #29847

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xxllxhdj
Copy link

@xxllxhdj xxllxhdj commented Sep 7, 2024

Issue number: resolves #29846


What is the current behavior?

Say you have the following application history:

/pageA --> /pageB --> /pageC --> /pageD --> back to /pageC

If you were to call router.go(-2) on /pageC, you would be brought back to /pageB. But the address in the browser address bar is correct.

What is the new behavior?

In above case, if you were to call router.go(-2) on /pageC, you would be brought back to /pageA.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@xxllxhdj xxllxhdj requested a review from a team as a code owner September 7, 2024 20:47
Copy link

vercel bot commented Sep 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2024 8:50pm

@github-actions github-actions bot added the package: vue @ionic/vue package label Sep 7, 2024
@xxllxhdj xxllxhdj changed the title fix(vue): incorrect view rendered when using router.go(-n) #29846 fix(vue): incorrect view rendered when using router.go(-n) Sep 7, 2024
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] Incorrect view rendered when using router.go(-n) in linear routing
1 participant