Mirroring repositories: paste `Git repository URL` with a middle click does not display `Detect host keys` and `Input host keys manually` buttons
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=323556) </details> <!--IssueSummary end--> ### Summary No `Detect host keys` and `Input host keys manually` buttons appears when I cut & paste **with a middle click** a `ssh://` URL in `Git repository URL`. If I hit a key, then the buttons appears. A cut & paste **with Control + v** works. It looks like the buttons only appears on keystrokes and not content changing. ### Steps to reproduce 1. Create a project 2. Got to `Settings` → `Repository` 3. Expand `Mirroring repositories` 4. Cut the following text `ssh://git@github.com/gitlabhq/gitlabhq.git` 4. Click **with the middle button of your mouse** in `Git repository URL` input box ### Example Project ### What is the current *bug* behavior? The `Detect host keys` and `Input host keys manually` buttons are not displayed when I cut & paste **with a middle click** an URL. ### What is the expected *correct* behavior? The `Detect host keys` and `Input host keys manually` buttons should be displayed when I cut & paste **with a middle click** an URL. ### Relevant logs and/or screenshots #### GitLab does no display the buttons after pasting with middle click ![gitlab-no-buttons.png](/uploads/3059e44f881f8376b9df708640879964/gitlab-no-buttons.png) #### When I hit the `a` key the buttons appears ![gitlab-buttons-after-keystroke.png](/uploads/c761f9076a10431fb795c0e39c1a3237/gitlab-buttons-after-keystroke.png) ### Output of checks This bug happens on GitLab.com. ### Possible fixes <!-- If you can, link to the line of code that might be responsible for the problem. -->
issue