This was resolved in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54639
Attach a file by drag & drop or click to upload