Skip to content

Fix multiple modals showing when canceling comment in diff

  • See also #353376 (closed)
  • It looks like we never added ignoreWhilePending to the diff_line_note_form.vue

Changelog: fixed

Related to #362947 (closed)

Screenshots

  1. Open an MR and go to Changes
  2. Start leaving a comment on a line and then hit ESC multiple times quickly
  3. You should see only 1 confirm modal
Before (on master) After (on this MR)
20220519_before 20220519_after

Merge request reports