moveable icon indicating copy to clipboard operation
moveable copied to clipboard

two elements with different configuration

Open JoseCanulEI opened this issue 2 years ago • 3 comments

Environments

  • Framework name: moveable
  • Framework version: 0.35.4
  • Moveable Component version: 0.35.4
  • Testable Address(optional):

Description

Hello, I have a problem, I try to start the library twice to have two different configurations, but when I dynamically add two objects, one starts correctly, but the second one starts wrong, the direction points are positioned in the upper left corner ,

I also see that a class called 'moveable-reverse' is added, as a note I updated the library from 0.29 to 0.35, in 0.29 it works correctly but I need the property 'resolveAblesWithRotatable'

I hope you can help me how to add 2 objects in this version

Thanks

JoseCanulEI avatar Sep 19 '22 18:09 JoseCanulEI

@JoseCanulEI

Reverse is added when up/down or left/right is reversed like scale(-1, 1).

Could I see some demo code or screenshots?

daybrush avatar Sep 20 '22 17:09 daybrush

@JoseCanulEI

El reverso se agrega cuando arriba / abajo o izquierda / derecha se invierte como .scale(-1, 1)

¿Podría ver algún código de demostración o capturas de pantalla?

Hi,

I've fixed it, for some strange reason it had conflicts with Bootstrap, specifically with 'col-12'

Is there a way to see how you developed this module? https://daybrush.com/moveable/

Thanks @daybrush

JoseCanulEI avatar Sep 21 '22 15:09 JoseCanulEI

@JoseCanulEI

See code:

https://github.com/daybrush/scena/tree/master/packages/react-editor

daybrush avatar Sep 23 '22 01:09 daybrush