Bootstrap select inside modal don't show properly

14,336

See the updated jsFiddle: http://jsfiddle.net/mijopabe/gj9axc18/5/ You need to add this to your CSS:

.modal { overflow: visible; }
.modal-body { overflow-y: visible !important; }

I also took the liberty of including the plugins corresponding CSS file from a CDN:

//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.css
Share:
14,336
user1896653
Author by

user1896653

Updated on July 14, 2022

Comments

  • user1896653
    user1896653 almost 2 years

    Here is the fiddle. I've put a Select box as sample. It seems that it can't be shown inside modal. How can be it solved?

    ...................................................Update.....................................

    To solve this, I've added this CSS:

    .bootstrap-select.btn-group .dropdown-menu.inner {
        position: static;
    }
    

    Now, the Select-Option are showing, but it seems that the dropdown taking the real space which increasing the height of popup. But, I expect dropdown will cross the popup window if the height of dropdown is much. How can I make it?

    Updated Fiddle