Commit f91cfa8e authored by Phil Hughes's avatar Phil Hughes Committed by Alfredo Sumaran

Fixed navigational keys not working when filtering

parent 5f985711
...@@ -554,7 +554,7 @@ class GitLabDropdown ...@@ -554,7 +554,7 @@ class GitLabDropdown
ARROW_KEY_CODES = [38, 40] ARROW_KEY_CODES = [38, 40]
$input = @dropdown.find(".dropdown-input-field") $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 if @dropdown.find(".dropdown-toggle-page").length
selector = ".dropdown-page-one #{selector}" selector = ".dropdown-page-one #{selector}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment