Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GregoryWullimann opened this issue Sep 19, 2020 · 0 comments

Comments

@GregoryWullimann
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant