JQuery autocomplete ui results navigation with arrow keys issue

别来无恙 提交于 2019-12-11 07:19:01

问题


I've managed to get the jquery autocomplete ui to work and I've been able to set a link correctly, the only issue is that, instead of being able to click on the suggested results, you have to use the arrow keys to navigate through them. I've further added the jQuery UI css package. queryui/1.11.4/jquery-ui.min.css


回答1:


The images look like you have an CSS z-index problem, try to add this to your CSS file:

.ui-autocomplete.ui-widget-content { 
    z-index: 9999;
}

This should fix the problem.

Your user information overlays the suggestionlist, so you are not able to click the items. Are these information absolute or relative positioned?



来源:https://stackoverflow.com/questions/43705210/jquery-autocomplete-ui-results-navigation-with-arrow-keys-issue

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