Apply Suggestion Button Sometimes Doesn't Appear

Summary

Sometimes the apply button for a suggestion doesn't appear. It happened to me in this test MR when I was testing some other functionality around apply suggestions.

gitlab-com/www-gitlab-com!44142 (closed)

Steps to reproduce

Unsure of the exact conditions, but use the suggested change feature enough and you'll likely reproduce it.

Example Project

gitlab-com/www-gitlab-com!44142 (closed)

What is the current bug behavior?

Apply button doesn't show up

What is the expected correct behavior?

Apply button should show up