Batched comments outside of the visible range will show duplicated when in draft
How to reproduce:
- Open a MR with a diff that does not include the entire file
- click the show entire file button
- place a comment on the newly expanded area (In my case I did on line 1)
- check again the changes view, it will duplicate that comment before and after the diff snippet when displaying the draft
In the picture below you can see that the comment was placed on line 1, but it also shows at the end of the diff