Autocomplete issue into bootstrap modal

前端 未结 11 2586
旧时难觅i
旧时难觅i 2020-12-01 05:57

I have a display problem in the jQuery autocomplete inside a modal dialog bootstrap.

When I mouse scroll, the results do not remain attached to the input.

Is

11条回答
  •  余生分开走
    2020-12-01 06:35

    just try adding this:

    .ui-autocomplete {
      z-index: 215000000 !important;
    }

    Just make sure you give a high value to the property and DO ADD

    !important

    It really matters. The latter will tell your browser to execute this rule first, before any other of the same class. Hope it will help

提交回复
热议问题