When an attachment has finished uploading, it jumps to wherever your cursor is. This can interfere if you keep typing while waiting for a large upload
Insert placeholder text when upload starts, then replace with the file when complete.
GitHub example: