jquery ui autocomplete positioning wrong

前端 未结 8 875
再見小時候
再見小時候 2020-12-01 06:17

using jquery ui 1.8 trying autocomplete

Everything works apart from that the ui-menu isn\'t positioned under my input element, but rather in the top left corner.

8条回答
  •  伪装坚强ぢ
    2020-12-01 07:00

    I know this is an old post, but just had this issue myself and fixed it another way.

    I had updated jQuery, which caused the menu to appear at left:0; top:0; on the window, rather than nicely below my input.

    Updating jQuery UI fixed it instantly. Hope this is of use to someone.

提交回复
热议问题