Closed Thanzex closed 2 years ago
Thanks for reporting @Thanzex. I think it's because TransformerHandle
is using mouse events: https://github.com/ShukantPal/pixi-essentials/blob/d0ad0ce71c846f05fb8486661483b2040986db2e/packages/transformer/src/TransformerHandle.ts#L95
I assume using pointer events would fix this.
@Thanzex Can you try with @pixi-essentials/transformer 2.5.6?
That was quick! Everything seems to be working fine now, thank you very much!
Hi! As the title says, the transformer scale/rotate/skew actions don't work properly on mobile. I've tested both the provided pen examples
and made a little test of my use case here https://codepen.io/thanzex/pen/JjpJQMd
On mobile the translation works fine, but I cannot scale or rotate the box, dragging any of the handles just moves the whole box or in some cases scales only along one axis, despite having set
lockAspectRatio
totrue
.This behaviour can be observed also using a normal browser with the responsive developer tools.