Comment suggestion container doesn't expand to allow suggestions to be added

Summary

Comment suggestion box container in MR was too short with a single suggestion, leading to the container not expanding and being unable to interact with said container.

Steps to reproduce

  1. Using Firefox Developer Edition 95.0b9 (64-bit)
  2. Create simple single-line suggestion
  3. Attempt to apply it
  4. Note that it cannot be done except by commenting more to increase container size

Example Project

I added "whitespace" to workaround but here's the original suggestion FWIW: gitlab-org/security-products/analyzers/spotbugs!117 (comment 772385918)

What is the current bug behavior?

Cannot apply suggestion since container is too small

What is the expected correct behavior?

Interacting with single line suggestions should be usable.

Relevant logs and/or screenshots

2021-12-13_14.48.05

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

Edited Dec 13, 2021 by Lucas Charles
Assignee Loading
Time tracking Loading