This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
German Bauer
Posted Aug 10 - Read on Facebook

This is prob an easy question: What's the best practice to detect screen rotation of a mobile device. I need an event when it happened and what the new available screen size is after the rotation...thanks


Mike Feldstein

I don't know how to detect rotation in the simulator, but on device this works:

Mike Feldstein

Framer Team: It might be cool to trigger window.onresize when the simulator rotates the device

Read the entire post on Facebook