简体   繁体   中英

JQuery autocomplete ui results navigation with arrow keys issue

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

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM