Vote #78623
完了Jump to project autocomplete: focus selected project
0%
説明
A small patch that could really enhance "jump to project" autocomplete experience: if a project is selected, then focus it when the project list expands and start from here when navigating with keyboard arrows.
Usecase: when you have projects and subprojects, it's really painful when you want to quickly access parent or sibling project. It's nice to have the current project focused.
I didn't go as far as positionning the widget's scroll bar so the selected project is on top
journals
--------------------------------------------------------------------------------
FYI: Your patch has only some whitespace changes.
--------------------------------------------------------------------------------
Updated version of the patch : autocompleted text input was not focused on expand
--------------------------------------------------------------------------------
Only works for me when in "mobile" display. Otherwise it's always the search field that gets the focus (because of @drdn.find(".autocomplete").focus();@ when not in mobile display).
Anyone else has tested this patch?
--------------------------------------------------------------------------------
OK got it. Looks good to me.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------