R
R
Risin02016-04-03 09:57:49
HTML
Risin0, 2016-04-03 09:57:49

How to make a combo box overlay other items?

Hello everyone!
For dropdown lists, I use Select2 , everything is good, great and convenient.
But there is a small bug (feature?) that I can't fix. The dropdown list stubbornly refuses to overlap other elements. Those. for example:
VrwoozXtKJRaar.png
The dropdown part does not overlap the button. How can this be fixed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2016-04-03
@Risin0

Look towards the CSS 'z-index' property - the button should have it less than the list.

M
Maxim Timofeev, 2016-04-03
@webinar

If everything is ok with z-index, apparently the drop-down list has no background and the button is visible through it. Make background: #fff;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question