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

onScaleGroup event ignores group elements' scale value #1020

Open
imalgrab opened this issue Sep 20, 2023 · 5 comments
Open

onScaleGroup event ignores group elements' scale value #1020

imalgrab opened this issue Sep 20, 2023 · 5 comments
Labels
bug Something isn't working complete
Milestone

Comments

@imalgrab
Copy link

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?

newest.mov
@daybrush daybrush added checking bug Something isn't working and removed checking labels Sep 25, 2023
@daybrush daybrush added this to the 0.51.3 milestone Sep 25, 2023
@daybrush
Copy link
Owner

@imalgrab

It is scheduled to be released next week.

@cyhnkckali
Copy link

I'm curious about this too

@stxdamianklimarczyk
Copy link

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

1 similar comment
@talhakaanozkan
Copy link

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

@daybrush
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete
Projects
None yet
Development

No branches or pull requests

5 participants