valor-software / ng2-select

Angular based replacement for select boxes
http://valor-software.github.io/ng2-select/
MIT License
675 stars 587 forks source link

Compatibility to Boostrap 4 #690

Open Geschan opened 7 years ago

Geschan commented 7 years ago

Right now there are some issues in using Bootstrap 4 with ng2-select. Especially that dropdowns are not shown via the css class "open", now it's called "show". It can be easily fixed by own css, but it would be nice if it would be compatible out-of-the-box

hvqthong commented 7 years ago

+1

eftas-gka commented 7 years ago

So how did you fix it?

edit: found it here

https://github.com/valor-software/ng2-select/issues/596

picsou58 commented 7 years ago

the css trick did not fix it for me, the dropdown is still not showing, anyone got anything else ?

pzontrop commented 6 years ago

the fix noted on the other thread is actually scss not css. So make sure you are compiling it. Otherwise try this in stead:

.open > .dropdown-menu {
    display: block;
}
.open > a {
    outline: 0;
}
optimistex commented 6 years ago

Work by supporting Bootstrap 4 was planned: https://github.com/optimistex/ng2-select-ex/issues/5