Hi there,
That's probably because you have "Trim" enabled, that option will remove all the blank space from the export to make it more compact and efficient. It shouldn't alter the animation though, would you mind sharing your project file so I can check out what's happening?