Can’t directly copy link after uploading a file

Steps to reproduce

  1. Upload a file
  2. Wait for it to finish
  3. Observe that there is a modal that says “Hit Ctrl-C” to copy
  4. Hit Ctrl-C

Expected result

The link to the newly-uploaded file is copied.

Actual result

Nothing; the clipboard contents remain unchanged.

Now I have to actually click in the textbox with the file link, select all, and then copy.

Environment

Chrome/macOS

Additional information

This used to work just fine before. Not sure why this broke.