In Firefox, pasting an SSH key into `/profile/keys` doesn't activate JS form logic
Summary
When adding an SSH key to a user via copy/paste, you can't just ctrl+v then click "Add key". You have to paste, move input focus out of the "Key" box, which triggers some JS that populates the "title" box and enables the "Add key" button, then click "Add key".
Steps to reproduce
- As a new user, navigate to
/profile/keys
- Paste (Ctrl+V) a public SSH key into the "Key" box
What is the current bug behavior?
The "title" box remains unfilled, and the "Add key" button remains disabled
What is the expected correct behavior?
Pasting should immediately fill the title and enable "Add key"
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com