Skip to content
Snippets Groups Projects
Commit f91cfa8e authored by Phil Hughes's avatar Phil Hughes Committed by Alfredo Sumaran
Browse files

Fixed navigational keys not working when filtering

parent 5f985711
Branches
Tags
1 merge request!5111Fixed enter submitting form in dropdown
Loading
Loading
@@ -554,7 +554,7 @@ class GitLabDropdown
ARROW_KEY_CODES = [38, 40]
$input = @dropdown.find(".dropdown-input-field")
 
selector = '.dropdown-content li:not(.divider,.dropdown-header,.separator)'
selector = '.dropdown-content li:not(.divider,.dropdown-header,.separator):visible'
if @dropdown.find(".dropdown-toggle-page").length
selector = ".dropdown-page-one #{selector}"
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment