Select: up arrow cancels popup unnecessarily
Using test_Select.html on IE or FF,
with focus in the textbox, down arrow opens the popup.
Another down arrow highlights the first option, and a 3rd down arrow selects the 2nd item.
Pressing up arrow moves to the 1st item and another up arrow closes the popup. I think it should move to the previous highlighted item if possible, or just stay at the 1st item.
It may be OK to close the popup if no item is highlighted.
The problem is particularly bad if you are holding down the up arrow to scan thru a long list.
Change History (2)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
(In [8837]) Fixes #3215. Proxy commit for haysmark. Moved _highlightPrevOption next to _highlightNextOption. The behavior of pressing the up arrow in AutoCompleterMenu? is slightly different now. If you have the first option highlighted and press up, the popup does not close. It will close if you press up and there is no option highlighted.