Prefer to use after_transition Closes gitlab-ce#55306 See merge request gitlab-org/gitlab-ee!8839
Attach a file by drag & drop or click to upload