Issue search input broken - space between words - no Ctrl+A

Summary

The search input treats words strangely, it seems that it separates them into separate elements and then inserts spaces between them when the word has a cursor on it.

Kooha-11-15-2021-09-42-31

Steps to reproduce

  1. Go to https://gitlab.com/gitlab-org/gitlab/-/issues?search=scheduled+pipeline+specify+job&sort=created_date&state=opened
  2. Click somewhere in the sheduled, pipeline, or specify words and see the space (shown on screencast)
  3. Try to select whole input text with ctrl + a and notice nothing happens

Example Project

gitlab-org/gitlab

What is the current bug behavior?

input inserts spaces between words

What is the expected correct behavior?

input allows us to edit text normally

Relevant logs and/or screenshots

in the summary

Output of checks

This bug happens on GitLab.com (Next)

More information

Probably related to gitlab-ui#1468 (closed)

Slack thread (internal only): https://gitlab.slack.com/archives/CETG54GQ0/p1636016201137600