Skip to content

Touch input on mobile has a 8px offset #72

@Auroriax

Description

@Auroriax

The body element automatically gets a 8px margin, which offsets the touch events by the same amount of pixels both horizontally and vertically.

A quick fix would be to force a 0px margin through CSS. Although a more proper solution would be to detect and ignore this in JS.

Fix on both player & exports. And perhaps also in the editor? Need to double check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions