Need to fix height and width of select2 multiple-select search box

烂漫一生 提交于 2019-12-05 19:24:07

This turned out to be fairly simple. There was a span element of class select2-selection--multiple as the parent of the lis. All I had to do was add overflow-y: auto and that did the trick. I was not aware of this property.

My select2 combobox, now, looks like the below.

For my further reading - overflow-y description in w3schools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!