Had a bug today related to device rotation and content getting cut off and found the solution thanks to Cemre, thought I'd share it here:
# the problem
A video is playing in portrait mode. When fullscreen is triggered, I call Framer.Device.rotateRight() to rotate the device into landscape. The video's content has been rotated, but the player's dimensions are being cropped to the dimensions of portrait mode, leaving a large black empty space to the right of the video. (See screenshot)
# the solution
Opening the DOM inspector or resizing the window fixes the problem, so we just needed to trigger a redraw via Framer.Device._update() after the player element finished animating into place.
Hope it helps.