[ https://issues.apache.org/jira/browse/WICKET-5275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718210#comment-13718210 ]
Martin Grigorov commented on WICKET-5275: ----------------------------------------- Your patch needs improvement in the case there is no searchTerm in the text field. In this case a small empty div is being shown. To see it: - apply your patch and start wicket-examples -> Ajax -> Autocomplete - focus the text field - press KEY_UP without entering any text before that. > AutoComplete KEY_UP behavior > ---------------------------- > > Key: WICKET-5275 > URL: https://issues.apache.org/jira/browse/WICKET-5275 > Project: Wicket > Issue Type: Improvement > Components: wicket-extensions > Affects Versions: 6.9.1 > Reporter: Andrey Bezrukov > Priority: Minor > Attachments: wicket-autocomplete.js.patch > > > Probably it's good idea to change autocomplete KEY_UP behavior to increase UI > usability. Suggested behavior: user focus autocomplete field -> press KEY_UP > -> last autocomplete element selected. This behavior simplifies navigation > through the list using the keyboard. > See attached patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira