Blog

Phone orientation data freezes in a browser? How to fix

Learn why a phone's orientation readings stop changing in a browser, how to test them, and which permissions or browser settings to check.

Michael ReedHardware tests 4 min read

You turn your phone, but a web page keeps showing the same orientation or motion reading. The cause could be a browser permission, a page that has gone inactive, or a sensor that is not reporting data.

Use the Sensors Test on the phone itself to see whether its motion and orientation readings change as you move it. Then check the browser and phone settings that can block or pause those readings.

Test the phone's orientation data

  1. Open the Sensors Test on the phone you are checking. A test on a computer cannot read the phone's sensors.
  2. If the browser asks for motion or sensor access, allow it. Some browsers require you to tap the page before they can ask for permission.
  3. Keep the page open and visible. Hold the phone steady, then slowly tilt it forward, backward, and from side to side. Look for the motion or orientation readings to change.
  4. Turn the phone a quarter turn and back, then repeat the test. Avoid shaking it hard. A slow, deliberate movement makes it easier to tell whether a reading is updating.

If the browser shows no permission prompt, that does not necessarily mean access is allowed. Check the browser's site permissions before deciding that the sensor is faulty.

What the result means

The readings change as you move the phone

The sensors are sending data to the page. If another website or app still appears frozen, check that app's permissions and whether it is using the same phone or browser. A page can also display values slowly or update only when it is active.

The readings stay still, but the page responds

The browser may not have access to motion data, or a permission request may have been denied earlier. Check the site's settings, reload the page, and grant access when asked. If the browser has a setting for motion sensors, make sure it is not blocked.

Some sensor readings change, but orientation does not

The phone may expose different sensors separately. A changing motion reading shows that at least one sensor is reporting, but it does not prove that every orientation or compass reading is available. Compass readings can also be unstable near magnets, speakers, or metal objects. Move away from them and test again.

Everything stops after you switch apps or lock the screen

Browsers may pause or limit sensor updates when a page is in the background or the phone is locked. Return to the test and keep it visible while checking. If readings resume, the pause is likely a browser or operating system behavior, not a broken sensor.

The display does not rotate, but readings change

The sensor is working even if the screen stays in portrait or landscape mode. Rotation Lock or an app's fixed layout can prevent the display from turning without stopping the browser from receiving sensor data.

How to fix it

  1. Keep the test in front. Leave the browser page open and the phone unlocked while moving the device. Return to the page if you switched apps, then test again.
  2. Allow motion access for the site. In Android Chrome, open the site's information or permissions menu beside the address bar. If Motion sensors is listed, allow it. You can also check Chrome › Settings › Site settings for a motion sensor permission. Menu names vary by browser and Android version.
  3. Check the iPhone browser setting. In iOS, open Settings › Apps › Safari › Motion & Orientation Access and turn it on. On older iOS versions, look under Settings › Safari. Return to the page and allow access if Safari asks.
  4. Reload after changing permission. Close or reload the page after allowing access. If the browser previously blocked the request, a fresh page load can let it ask again.
  5. Try a regular browser tab. Private browsing, strict privacy settings, or content-blocking extensions may limit page features. Open the test in a normal tab and temporarily disable a blocker for the site if you use one.
  6. Restart the browser and phone. Close the browser, reopen it, and test again. If readings still do not update, restart the phone to clear a temporary software problem.

When it may be a hardware problem

Test the phone in another browser that supports motion access, and check more than one sensor if the test provides those readings. If motion data stays fixed in every browser after permissions are allowed and the phone has restarted, an operating system problem or sensor fault is possible. A browser test cannot identify the exact failed component.

If the problem began after a drop, water exposure, or repair, contact the phone maker or a repair shop. If the phone is under warranty, ask the manufacturer to check it before opening the device yourself.

Why the page can freeze when you leave it

Mobile browsers conserve battery by reducing work in background tabs. A page may receive fewer sensor updates, or stop receiving them, when it is hidden, the screen is locked, or the browser is suspended. This can look like a frozen reading even though the sensors work normally.

For a reliable check, keep the test page visible, the phone unlocked, and the device away from strong magnetic objects. The Sensors Test reads data on the phone running the page.