Vertical and horizontal resizing reversed?

Check your main component. This “bug” only happens when something is rotated/flipped. Take a close look at the rotation values, object coordinates, and the transform CSS property in the Inspect panel.

You can also share a link to an example file here so anyone can help find the cause.