-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CSS Conflict with vue-bootstrap/bootstrap4 #662
Comments
I've patched this issue with following CSS rules for now /*prevent bootstrap-vue css conflict*/
.v-select.dropdown .dropdown-toggle::after {
content: inherit;
}
.v-select.dropdown .form-control {
height: inherit;
} |
Having the same issue - above CSS did not fix it for me (possibly because I'm on multiselect mode). For now, I've downgraded to 2.4.0 specifically, which works fine but requires some other CSS hacks. |
In my case the following did the trick. But not sure it is the best way to do it :
|
I had to use |
CSS fix did not work for me either, but downgrading to 2.4.0 did the trick. |
this work perfectly, thanks. |
The following CSS rules solved my issue.
|
how to downgrade to version 2.4.0? |
How to downgrade to that version? |
This is generally caused by the class name collisions. From the start I wrote vue-select to depend on bootstrap, but moved away from that in 2.0 and aimed for compatibility instead. I left the classnames the same however, and that was a mistake. In v3, all classnames are unique and prefixed with I'm looking to release a beta of v3 today, and I'll take a few mins now to see if I can quickly patch this up in a 2.6.3 release. |
@sagalbot it (version 2.6.3) has another issue with carrot icon on the right up corner Update: sorry, it got solved in version 2.6.3/ Yesterday it had problems |
I am using vue-select to replace vue-bootstrap default select box. I believe this issue started when I upgraded vue-bootstrap to 2.0 (which loads bootstrap 4.1.1), but vue-select stying seems to be broken with the version I am using (v2.5.1)
(See the odd caret mark on the right side of the select box, and the height of the select box seems unnecessarily bloated..)
I am loading bootstrap css like so..
If I remove these, the issue goes away.
I am not sure if this is vue-bootstrap issue, but is there anyway to make vue-select not conflict with vue-bootstrap?
The text was updated successfully, but these errors were encountered: