Skip to content

transform: translate() propriety is overriden by matrix() on mobile (touch events) #1923

@GregoryWullimann

Description

@GregoryWullimann

I have some div with propriety transform: translate(50%,50%), I use it to easily move and center the items using position: absolute.

On mobile with touch events the propriety transform: translate() is overriden by transform: matrix() when dragging around an object, resulting in the item being misplaced.

It could be easily solved by combing both transform when moving the item, since transform: translate() matrix() can be used in css.

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