moveable icon indicating copy to clipboard operation
moveable copied to clipboard

`onScaleGroup` event ignores group elements' scale value

Open imalgrab opened this issue 2 years ago • 5 comments

Environments

  • Framework name: React
  • Framework version: ^18.2.0
  • Moveable Component version: ^0.50.7
  • Testable Address(optional):

Description

When scaling a group of elements with one element already scaled on y-axis (in this case y-axis is negative: scale(1, -1)) alongside the x-axis with keepRatio property set to true I'm having this element's scale ignored and having this event using scale(1, 1) no matter what.

Is there a way to change the default scale for that onScaleGroup event?

https://github.com/daybrush/moveable/assets/33524510/fdf1fb9e-1f1b-4d1d-9432-8515d4c75611

imalgrab avatar Sep 20 '23 19:09 imalgrab

@imalgrab

It is scheduled to be released next week.

daybrush avatar Sep 30 '23 08:09 daybrush

I'm curious about this too

cyhnkckali avatar Oct 02 '23 08:10 cyhnkckali

Hi @daybrush, are there any updates abut it? Thanks up front!

stxdamianklimarczyk avatar Oct 17 '23 09:10 stxdamianklimarczyk

Hi @daybrush, are there any updates abut it? Thanks up front!

talhakaanozkan avatar Oct 17 '23 11:10 talhakaanozkan

@stxdamianklimarczyk @cyhnkckali @imalgrab @talhakaanozkan

  • croact-moveable 0.8.0
  • @moveable/helper 0.1.3
  • lit-moveable 0.29.0
  • moveable 0.52.0
  • preact-moveable 0.54.0
  • react-moveable 0.55.0
  • svelte-moveable 0.44.0
  • vue-moveable 2.0.0-beta.86
  • vue3-moveable 0.27.0
  • ngx-moveable 0.49.0

moveable's new version is released. Check it again.

daybrush avatar Oct 28 '23 06:10 daybrush