Skip to content

Fallback to scroll-based movement if DeviceOrientation not available #1

@arturbien

Description

@arturbien

iOS Safari has device sensors disabled by default. In such case (or when DeviceOrientation API is not supported ), fall back to scroll based image movement- when image appears in the viewport, animate vector values X and Y from -0.5 to 0.5 along some kind of bezier curve to achieve smooth parallax effect until image disappears from the viewport

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions