I confirm I've seen the same behavior. I'm not a big fan of the undo function as sometimes it doesn't seem to do anything and I'm not quite sure what is it that it's undoing.
Any updates on this? It's still a major issue in the current cloud version. Half the time the undo button does nothing, making it impossible to undo any errors. The components are skipped over and it only undoes code changes.