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

default tab keep changing #60

Open
181 opened this issue Feb 11, 2019 · 1 comment
Open

default tab keep changing #60

181 opened this issue Feb 11, 2019 · 1 comment

Comments

@181
Copy link

181 commented Feb 11, 2019

I use vue-tabs within a modal, the tabs order keeps changing. e.g. when click a button to display modal first time, the first tab and its content will be chosen and display, then close it, when open the tabs again, the first tab would be the second tab this time, and after. is this about the index 0, 1 issue? Any one met this before?

@christhofer
Copy link

This only happen if I use v-if in my modal. I solved it with using v-show instead. But now I need it to be v-if, so I'm also looking for a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants