Search input element loses focus while typing

Summary

When using the search tool, the element becomes unfocused for a brief period after entering a letter. Typing too fast results in keyboard shortcuts being invoked rather than characters being entered into the search box. Needlessly to say, this is a terrible experience.

Steps to reproduce

From inside a project, click the search input element. Hit the backspace key to remove the "This project" tag from the element. Quickly type a word.

What is the current bug behavior?

The characters typed will not be entered and bizarre things may start happening as these keys are effectively being pressed outside of the context of the search element.

What is the expected correct behavior?

Characters should be entered in the search input box.

Relevant logs and/or screenshots

I checked the JavaScript console for errors but didn't see anything.

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:         Ubuntu 14.04
Proxy:          no
Current User:   git
Using RVM:      no
Ruby Version:   2.3.3p222
Gem Version:    2.6.6
Bundler Version:1.13.7
Rake Version:   10.5.0
Redis Version:  3.2.5
Git Version:    2.13.0
Sidekiq Version:5.0.0
Go Version:     go1.2.1 linux/amd64

GitLab information Version: 9.4.2-ee Revision: 421b9b5 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.3 URL: *********************** HTTP Clone URL: *********************** SSH Clone URL: *********************** Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: google_oauth2

GitLab Shell Version: 5.3.1 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
Checking GitLab Shell ...

GitLab Shell version >= 5.3.1 ? ... OK (5.3.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 2/2 ... ok 2/3 ... ok 2/5 ... ok 5/6 ... ok 5/7 ... ok 6/8 ... ok 6/9 ... ok 6/10 ... ok 6/11 ... ok 5/12 ... ok 6/13 ... ok 5/14 ... ok 7/15 ... ok 5/16 ... ok 6/17 ... ok 23/20 ... ok 23/21 ... ok 23/22 ... ok 23/23 ... ok 23/24 ... ok 23/25 ... ok 23/26 ... ok 23/27 ... ok 23/28 ... ok 23/29 ... ok 23/30 ... ok 23/31 ... ok 23/32 ... ok 23/33 ... ok 24/35 ... ok 5/36 ... ok 24/37 ... repository is empty 27/38 ... ok 5/39 ... ok 36/40 ... ok 5/41 ... ok 5/42 ... ok 5/43 ... ok 5/44 ... ok 2/45 ... ok 5/46 ... ok 7/47 ... ok 27/48 ... ok 7/49 ... ok 39/50 ... ok 42/51 ... ok 46/52 ... ok 46/53 ... ok 27/54 ... ok 36/55 ... ok 23/56 ... ok 2/57 ... ok 23/58 ... ok 23/59 ... ok 23/60 ... ok 2/61 ... ok 5/63 ... ok 27/64 ... ok 5/66 ... ok 27/67 ... ok 23/68 ... ok 23/69 ... ok 2/70 ... ok 8/71 ... ok 8/72 ... ok 56/75 ... ok 4/76 ... ok 8/77 ... ok 19/78 ... ok 59/79 ... ok 59/80 ... ok 2/81 ... ok 62/85 ... ok 62/86 ... ok 63/87 ... ok 62/88 ... ok 62/89 ... ok 62/90 ... ok 62/91 ... ok 62/92 ... ok 62/93 ... ok 62/94 ... ok 62/95 ... ok 62/96 ... ok 62/97 ... ok 62/98 ... ok 62/99 ... ok 62/100 ... ok 62/101 ... ok 62/102 ... ok 62/103 ... ok 62/104 ... ok 62/105 ... ok 62/106 ... ok 62/107 ... ok 62/108 ... ok 63/109 ... ok 62/110 ... ok 62/111 ... ok 62/112 ... ok 62/113 ... ok 62/114 ... ok 62/115 ... ok 63/116 ... ok 62/117 ... ok 62/118 ... ok 62/119 ... ok 62/120 ... ok 63/121 ... ok 63/122 ... ok 62/123 ... ok 62/124 ... ok 63/125 ... ok 62/126 ... ok 62/127 ... ok 63/128 ... ok 62/129 ... ok 62/130 ... ok 63/131 ... ok 62/132 ... ok 63/133 ... ok 63/134 ... ok 62/135 ... ok 62/136 ... ok 62/137 ... ok 62/138 ... ok 62/139 ... ok 63/140 ... ok 62/141 ... ok 62/142 ... ok 63/143 ... ok 63/144 ... ok 63/145 ... ok 62/147 ... ok 62/148 ... ok 62/149 ... ok 62/150 ... ok 62/151 ... ok 62/152 ... ok 62/153 ... ok 62/154 ... ok 62/155 ... ok 62/156 ... ok 62/157 ... ok 62/158 ... ok 62/159 ... ok 62/161 ... ok 62/162 ... ok 62/163 ... ok 62/164 ... ok 62/166 ... ok 62/167 ... ok 62/168 ... ok 62/169 ... ok 62/170 ... ok 63/171 ... ok 63/172 ... ok 62/174 ... ok 63/175 ... ok 62/176 ... ok 63/177 ... ok 62/178 ... ok 62/179 ... ok 62/180 ... ok 63/181 ... ok 62/183 ... ok 62/184 ... ok 62/185 ... ok 62/186 ... ok 62/187 ... ok 62/188 ... ok 63/189 ... ok 62/190 ... ok 62/191 ... ok 62/192 ... ok 62/195 ... ok 62/197 ... ok 62/198 ... ok 62/199 ... ok 62/200 ... ok 62/201 ... ok 63/202 ... ok 63/203 ... ok 62/204 ... ok 62/205 ... ok 62/206 ... ok 63/207 ... ok 62/208 ... ok 63/209 ... ok 62/210 ... ok 62/211 ... ok 62/212 ... ok 62/213 ... ok 62/214 ... ok 62/215 ... ok 62/216 ... ok 63/217 ... ok 62/218 ... ok 62/219 ... ok 62/220 ... ok 62/221 ... ok 62/222 ... ok 63/223 ... ok 62/224 ... ok 62/225 ... ok 62/226 ... ok 62/227 ... ok 63/228 ... ok 63/229 ... ok 62/230 ... ok 62/231 ... ok 62/232 ... ok 63/233 ... ok 63/234 ... ok 62/235 ... ok 63/236 ... ok 23/237 ... ok 62/238 ... ok 8/239 ... ok 67/240 ... ok 62/241 ... ok 39/242 ... ok 62/243 ... ok 58/244 ... ok 62/245 ... ok 62/246 ... ok 62/247 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... no Try fixing it: sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} ; sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} ; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 2/2 ... yes 2/3 ... yes 2/5 ... yes 5/6 ... yes 5/7 ... yes 6/8 ... yes 6/9 ... yes 6/10 ... yes 6/11 ... yes 5/12 ... yes 6/13 ... yes 5/14 ... yes 7/15 ... yes 5/16 ... yes 6/17 ... yes 23/20 ... yes 23/21 ... yes 23/22 ... yes 23/23 ... yes 23/24 ... yes 23/25 ... yes 23/26 ... yes 23/27 ... yes 23/28 ... yes 23/29 ... yes 23/30 ... yes 23/31 ... yes 23/32 ... yes 23/33 ... yes 24/35 ... yes 5/36 ... yes 24/37 ... yes 27/38 ... yes 5/39 ... yes 36/40 ... yes 5/41 ... yes 5/42 ... yes 5/43 ... yes 5/44 ... yes 2/45 ... yes 5/46 ... yes 7/47 ... yes 27/48 ... yes 7/49 ... yes 39/50 ... yes 42/51 ... yes 46/52 ... yes 46/53 ... yes 27/54 ... yes 36/55 ... yes 23/56 ... yes 2/57 ... yes 23/58 ... yes 23/59 ... yes 23/60 ... yes 2/61 ... yes 5/63 ... yes 27/64 ... yes 5/66 ... yes 27/67 ... yes 23/68 ... yes 23/69 ... yes 2/70 ... yes 8/71 ... yes 8/72 ... yes 56/75 ... yes 4/76 ... yes 8/77 ... yes 19/78 ... yes 59/79 ... yes 59/80 ... yes 2/81 ... yes 62/85 ... yes 62/86 ... yes 63/87 ... yes 62/88 ... yes 62/89 ... yes 62/90 ... yes 62/91 ... yes 62/92 ... yes 62/93 ... yes 62/94 ... yes 62/95 ... yes 62/96 ... yes 62/97 ... yes 62/98 ... yes 62/99 ... yes 62/100 ... yes 62/101 ... yes 62/102 ... yes 62/103 ... yes 62/104 ... yes 62/105 ... yes 62/106 ... yes 62/107 ... yes 62/108 ... yes 63/109 ... yes 62/110 ... yes 62/111 ... yes 62/112 ... yes 62/113 ... yes 62/114 ... yes 62/115 ... yes 63/116 ... yes 62/117 ... yes 62/118 ... yes 62/119 ... yes 62/120 ... yes 63/121 ... yes 63/122 ... yes 62/123 ... yes 62/124 ... yes 63/125 ... yes 62/126 ... yes 62/127 ... yes 63/128 ... yes 62/129 ... yes 62/130 ... yes 63/131 ... yes 62/132 ... yes 63/133 ... yes 63/134 ... yes 62/135 ... yes 62/136 ... yes 62/137 ... yes 62/138 ... yes 62/139 ... yes 63/140 ... yes 62/141 ... yes 62/142 ... yes 63/143 ... yes 63/144 ... yes 63/145 ... yes 62/147 ... yes 62/148 ... yes 62/149 ... yes 62/150 ... yes 62/151 ... yes 62/152 ... yes 62/153 ... yes 62/154 ... yes 62/155 ... yes 62/156 ... yes 62/157 ... yes 62/158 ... yes 62/159 ... yes 62/161 ... yes 62/162 ... yes 62/163 ... yes 62/164 ... yes 62/166 ... yes 62/167 ... yes 62/168 ... yes 62/169 ... yes 62/170 ... yes 63/171 ... yes 63/172 ... yes 62/174 ... yes 63/175 ... yes 62/176 ... yes 63/177 ... yes 62/178 ... yes 62/179 ... yes 62/180 ... yes 63/181 ... yes 62/183 ... yes 62/184 ... yes 62/185 ... yes 62/186 ... yes 62/187 ... yes 62/188 ... yes 63/189 ... yes 62/190 ... yes 62/191 ... yes 62/192 ... yes 62/195 ... yes 62/197 ... yes 62/198 ... yes 62/199 ... yes 62/200 ... yes 62/201 ... yes 63/202 ... yes 63/203 ... yes 62/204 ... yes 62/205 ... yes 62/206 ... yes 63/207 ... yes 62/208 ... yes 63/209 ... yes 62/210 ... yes 62/211 ... yes 62/212 ... yes 62/213 ... yes 62/214 ... yes 62/215 ... yes 62/216 ... yes 63/217 ... yes 62/218 ... yes 62/219 ... yes 62/220 ... yes 62/221 ... yes 62/222 ... yes 63/223 ... yes 62/224 ... yes 62/225 ... yes 62/226 ... yes 62/227 ... yes 63/228 ... yes 63/229 ... yes 62/230 ... yes 62/231 ... yes 62/232 ... yes 63/233 ... yes 63/234 ... yes 62/235 ... yes 63/236 ... yes 23/237 ... yes 62/238 ... yes 8/239 ... yes 67/240 ... yes 62/241 ... yes 39/242 ... yes 62/243 ... yes 58/244 ... yes 62/245 ... yes 62/246 ... yes 62/247 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... yes (2.3.3) Git version >= 2.7.3 ? ... yes (2.13.0) Active users: ... 27 Elasticsearch version 5.1 - 5.3? ... skipped (elasticsearch is disabled)

Checking GitLab ... Finished

Assignee Loading
Time tracking Loading