Moveable: Snap to common element distances

Created on 20 Mar 2020  路  6Comments  路  Source: daybrush/moveable

Would be great if this could support snapping the common distance between existing elements. There are a few cases:

Base case (horizontal):
ezgif com-crop (1)

Vertical:
ezgif com-video-to-gif (28)

Rotated:
ezgif com-video-to-gif (29)

Multiple:
ezgif com-video-to-gif (30)

Feature bug complete

Most helpful comment

@wassgha

Maybe it feels like this.

釀嗎叜釀屷叇

All 6 comments

@wassgha

Thank you :) I'll try it for next release.

@wassgha

Maybe it feels like this.

釀嗎叜釀屷叇

Looks awesome! Thank you :)

@wassgha

  • moveable 0.16.1
  • react-moveable 0.19.0
  • preact-moveable 0.18.0
  • ngx-moveable 0.12.0
  • svelte-moveable 0.7.0

moveable's new version is released. Check it again. Thank you :)

use snapGap props. (default: true)

Works great! Awesome work! 馃帀 One little thing, when isDisplaySnapDigit={false} the number is displayed but set to 0. Would be great if the number was completely hidden. Bonus points if this is controlled by a different boolean (e.g. isGapSnapDigitVisible). Thank you!

@wassgha

react-moveable 0.19.1 is released.

Check it again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ajinkya-dev picture ajinkya-dev  路  3Comments

jameschetwood picture jameschetwood  路  6Comments

ladifire picture ladifire  路  3Comments

adityakrshnn picture adityakrshnn  路  6Comments

tesmem101 picture tesmem101  路  3Comments