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

BTab: triggers scrollBehavior of vue-router. #1734

Open
phlegx opened this issue Jan 27, 2024 · 3 comments
Open

BTab: triggers scrollBehavior of vue-router. #1734

phlegx opened this issue Jan 27, 2024 · 3 comments
Labels
need reproduction This needs a reproduction in order to continue question Further information is requested stale There has been no additional replies or questions and the thread is assumed closed

Comments

@phlegx
Copy link
Contributor

phlegx commented Jan 27, 2024

What you are trying to do.

If a BTab is in view and I route to that view with $router.push(...), the scrollBehavior function of vue-router is called twice. $router.push(...) triggers first and than follows antother trigger from BTab.

My question: should BTab trigger scrollBehavior function of vue-router?

What you have already tried.

If I remove the BTab element from the view, all works fine.

Any error messages you are getting.

No.

Environment (please complete the following information):

  • OS: Linux
  • Package Version: 0.14.10
  • Npm/Yarn/Pnpm/Bun Version: yarn
@phlegx phlegx added the question Further information is requested label Jan 27, 2024
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. It will not be auto-closed

@github-actions github-actions bot added the stale There has been no additional replies or questions and the thread is assumed closed label Feb 27, 2024
@xvaara xvaara added need reproduction This needs a reproduction in order to continue and removed stale There has been no additional replies or questions and the thread is assumed closed labels Mar 12, 2024
Copy link
Contributor

Hello @phlegx. Please provide a minimal reproduction using StackBlitz vite with script setup / light vue or a link to a repo.

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. It will not be auto-closed

@github-actions github-actions bot added the stale There has been no additional replies or questions and the thread is assumed closed label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need reproduction This needs a reproduction in order to continue question Further information is requested stale There has been no additional replies or questions and the thread is assumed closed
Projects
None yet
Development

No branches or pull requests

2 participants