Please review a trivial javadoc UX fix:

JBS: https://bugs.openjdk.java.net/browse/JDK-8243388
Webrev: http://cr.openjdk.java.net/~hannesw/8243388/webrev.00/ 
<http://cr.openjdk.java.net/~hannesw/8243388/webrev.00/>
API (index page only): http://cr.openjdk.java.net/~hannesw/8243388/api.00/ 
<http://cr.openjdk.java.net/~hannesw/8243388/api.00/>

In any API docs since JDK 9 moving through search results using the up/down 
keys clears the search input, preventing the user from editing/refining it 
further. The search term only reappears when one moves all the way up before 
the first search result. 

The fix is to cancel the focus event in the search widget by returning false in 
the event handler as documented here:

https://api.jqueryui.com/autocomplete/#event-focus 
<https://api.jqueryui.com/autocomplete/#event-focus>

Thanks,
Hannes

Reply via email to