Comment draft gets overwritten after network error on previous comment
Summary
When posting two comments to an issue or merge request with little time in between, the second one get overwritten if the first one fails to be sent.
Steps to reproduce
- go to issue or merge request
- set network speed down in developer tools
- post first comment
- write second comment (submitting should not be possible because of disabled button)
- set network to offline in developer tools
What is the current bug behavior?
Second comment gets overwritten.
What is the expected correct behavior?
Not sure—maybe concatenating both comments.