Testing version: 1949
What were you doing: taking notes
What feature did you use: collapsing header from Mac then move onto iPad
What happened: an empty space has been created between headers, and macOS version follow suit
What did you expect to happen: nothing
This is the original
This is what happened when I opened in iPad
This is when I opened the file again on macOS. I have not changed anything apart from reopening the document.
Also, when I remove the empty space, everything starts to get messed up and experience the behaviour of this.