问题
In a WordPress website I use a form plugin which have incorporated the "chosen jQuery plugin" (https://harvesthq.github.io/chosen/)".
If my form I use a repeated field option which have included a dropdown with autocomplete ON (the chosen jQuery plugin). From second repeat it start to overlaps with the next dropdown which have autocomplete on. The strange behavior also apply if intersect with a radio button field too, again, only starting from second repeat!
Link to form: https://www.beclean.info/test
I do a lot of CSS investigation, I try to apply z-index, overflow hidden, position relative but the same situation.
回答1:
in your .chosen-drop
add position and z-index it will works
.chosen-with-drop .chosen-drop{
z-index:1000!important;
position:static!important;
}
来源:https://stackoverflow.com/questions/54528705/dropdown-with-autocomplete-overlaps-with-other-dropdown-with-autocomplete-or-a-r