Autocomplete issue into bootstrap modal

前端 未结 11 2579
旧时难觅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:39

    The above solution talking about the z-index issue worked:

    .ui-autocomplete { z-index:2147483647; }
    

    Make sure you put it before your .js script responsible for handling the modal AND autocomplete logic.

提交回复
热议问题