Skip to content
Snippets Groups Projects
Commit 429c7f8f authored by Clement Ho's avatar Clement Ho
Browse files

Add focus check for gldropdown

parent 1b27524a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -801,7 +801,7 @@ GitLabDropdown = (function() {
if (this.options.filterable) {
const initialScrollTop = $(window).scrollTop();
 
if (this.dropdown.is('.show')) {
if (this.dropdown.is('.show') && !this.filterInput.is(':focus')) {
this.filterInput.focus();
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment