Skip to content

Instantly share code, notes, and snippets.

@autonome
Created June 30, 2017 16:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save autonome/4aa871f08a346968a20e84472ea2e892 to your computer and use it in GitHub Desktop.
Save autonome/4aa871f08a346968a20e84472ea2e892 to your computer and use it in GitHub Desktop.
A-Frame orientation bug on Firefox Android

A-Frame orientation bug on Firefox Android

A-Frame no longer responds to device motion on Firefox on Android after Firefox version 53.

Cause

Kip removed Cardboard support in bug 1250244, which caused the problem. However, A-Frame orientation still works on other non-WebVR non-Cardboard mobile browsers.

Why doesn't the WebVR polyfill kick in and wire up orientation API support?

Steps to Reproduce

  1. Use Firefox on Android, with any version after Gecko 53
  2. Open https://aframe.io/examples
  3. Move phone around

Expected: The scene is positioned relative to the real world.

Actual: The scene is positioned statically in the viewport, does not respond to device movement.

Bugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment