Prevent loading state from showing after undo
What does this MR do and why?
Prevent loading state from showing after undo
In rich text editor, after you paste some text, the loading indicator disappears. But if you undo, it reappeared. This commit fixes that.
Changelog: fixed
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2023-07-20 at 01.40.05.mov | Screen Recording 2023-07-20 at 01.38.31.mov |
How to set up and validate locally
- Open an issue, scroll down to the comment box.
- Throttle your connection to "Slow 3G" in the Network tab (Chrome Developer tools).
- Copy some content from an existing comment.
- Paste. Note a delay in the paste, during which time a loading indicator appears.
- Press Cmd + Z to undo.
- The loading indicator should not appear again. (It previously did.)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #419095 (closed)