Editing a comment leads to weird intermediate state

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Steps to reproduce

  • edit a comment
  • either use a slow connection or have a fast tool for screenshooting

Example Project

https://gitlab.com/gitlab-org/gitlab/

What is the current bug behavior?

comment form is rendered inside the existing comment:

edit form and comment are shown

What is the expected correct behavior?

either comment or edit form are shown

Edited by 🤖 GitLab Bot 🤖