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 bug of tab component removing 'show' css class prematurely #209

Merged
merged 2 commits into from
Apr 6, 2017

Conversation

valexiev
Copy link
Contributor

@valexiev valexiev commented Apr 6, 2017

Fixing issue #207.

@valexiev
Copy link
Contributor Author

valexiev commented Apr 6, 2017

The case:
A text input in a tab. When you start typing in the input, the tab content disappears because the CSS class "show" is removed.

This happens because after typing in the text input Vue reapplies classes, but uses only the initial class ("tab-pane") and the value of :class. Vue doesn't know anything about "show" and doesn't reapply it together with the other classes.

@pi0
Copy link
Member

pi0 commented Apr 6, 2017

@mosinve Please merge if you approve. LGTM :)

@mosinve mosinve requested review from mosinve and removed request for mosinve April 6, 2017 12:29
@mosinve
Copy link
Member

mosinve commented Apr 6, 2017

@valexiev Have you tested? Tabs transition works?

@valexiev
Copy link
Contributor Author

valexiev commented Apr 6, 2017

@mosinve yep, it works.

@mosinve mosinve merged commit 88c69ee into bootstrap-vue:master Apr 6, 2017
@mosinve
Copy link
Member

mosinve commented Apr 6, 2017

Merged

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

Successfully merging this pull request may close these issues.

None yet

3 participants