[VS Code] Duplicate Edit Fields When Editing Comments on MR Diff

Checklist

Summary

When editing comment, the edit field is doubled or tripled.

  • In self-hosted gitlab - GitLab Community Edition v17.2.8

Steps to reproduce

  • check diff of a file in the MR from gitlab extension sidebar
  • go to an existing comment or add a new comment
  • edit comment
  • input field will show twice or thrice (as shown in screenshot)

What is the current bug behavior?

  • edit comment input field will show twice or thrice

What is the expected correct behavior?

  • edit comment input field should only show once

Relevant logs and/or screenshots

As seen in below screenshot, when editing a comment, it is show edit field thrice.

image.png

Possible fixes