jquery ui autocomplete positioning wrong

前端 未结 8 887
再見小時候
再見小時候 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:06

    I had a similar issue, and after searching I found out I was missing a JS to fix this. In case someone stops by ensure to have a the "jquery.ui.position.js" script called as well.

    See http://jqueryui.com/demos/autocomplete/ under dependencies: UI Core UI Widget UI Position

提交回复
热议问题