Dropdown with autocomplete overlaps with other dropdown with autocomplete or a radio button in a repeated field

允我心安 提交于 2019-12-13 00:25:03

问题


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

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