Steps to reproduce the case:
- Add an inline comment and mark it 'ready'
- Delete the draft comment. You are prompted with 'Changes discarded. Undo'
- Do not undo. Add a new comment to the same line(s). Mark it ready again.
- The draft comment box jumps to the end of the current file.