When the issue edit box is full screen, the attach a file button is still clickable

Summary

When filing an issue with the expanded box (rightmost button in this screenshot), the attach a file button is not visible, but it is clickable in latest Chrome.

image

Steps to reproduce

  1. Begin creating an issue
  2. Fullscreen the issue description box
  3. Press where the attach button used to be
  4. See the file attachment window pop up

Example Project

This current project shows the same bug

What is the current bug behavior?

It opens the attach a file window.

What is the expected correct behavior?

It should do nothing

Relevant logs and/or screenshots

🤷

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes