Moveable: [Feature request] Please add zoom support

Created on 15 Jan 2020  路  3Comments  路  Source: daybrush/moveable

Hi @daybrush
Please add an option for using with zoom.
captured (6)
The control points size should keep original size when zoom in/out
thank you!

Feature complete

Most helpful comment

@daybrush
The zoom update works like a charm, thank you no more needs to handle that manually!

But there is a problem ( I had that same problem with manual zoom management ) : The elementGuidelines and snap is not working properly when zoomed in/out, it only works properly when at 100% otherwise the lines / snap are off the actual element.
I have been trying to fix that for a while but I am clueless on that issue.

All 3 comments

@ladifire

  • moveable 0.15.1
  • react-moveable 0.18.0
  • preact-moveable 0.17.0
  • ngx-moveable 0.11.0
  • svelte-moveable 0.6.0

Use zoom props

@daybrush
The zoom update works like a charm, thank you no more needs to handle that manually!

But there is a problem ( I had that same problem with manual zoom management ) : The elementGuidelines and snap is not working properly when zoomed in/out, it only works properly when at 100% otherwise the lines / snap are off the actual element.
I have been trying to fix that for a while but I am clueless on that issue.

@Raphe-dev can you please give me an example of working code? I've done many tries but I can't make this work.
Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adityakrshnn picture adityakrshnn  路  6Comments

pistell picture pistell  路  4Comments

adityakrshnn picture adityakrshnn  路  4Comments

monsterooo picture monsterooo  路  4Comments

ajinkya-dev picture ajinkya-dev  路  3Comments