Skip to content

The spatial room doesn't respond to device orientation changes #16

@colinbdclark

Description

@colinbdclark

On mobile devices, when you change the orientation between portrait and landscape (or vice versa), Audimance's spatial room layout doesn't change until the user taps somewhere in the room to change their position.

There is a relatively recent web standard API, the ScreenOrientation API, for detecting screen orientation changes. It has strong cross-browser support now, too, so it should be safe to use conditionally so that we don't break very old devices.

We should update room.js to redraw its layout whenever the screen orientation change event fires.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions