You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I have some div with propriety
transform: translate(50%,50%)
, I use it to easily move and center the items usingposition: absolute
.On mobile with touch events the propriety
transform: translate()
is overriden bytransform: 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.The text was updated successfully, but these errors were encountered: