pixelass / react-mops

🐶 Modify Orientation Position Size
https://react-mops.netlify.com/
MIT License
44 stars 7 forks source link

Markers applied incorrectly #19

Open vercamach opened 3 years ago

vercamach commented 3 years ago

Hello,

I found this package after issues with rotation at react-rnd and I was wondering if I could get some assistance with the handles for resizing and rotation.

I checked all the codesandboxes I could find but I didn't find anything relevant with the v2 release.

here is a sandbox that is pretty much a copy of yours https://codesandbox.io/s/react-mops-handle-282le

I'm not sure if I'm doing something wrong as I'm quite new to react coding.

Thank you for your help

pixelass commented 3 years ago

Hi, thx for reporting this issue. I stopped working on this project due to a lack of time but will be happy to assist you.

There's an open PR for v2 which has issues therefore can't be finished right now.

Can you check if your question can be answered by the demo?

https://react-mops.netlify.app/

https://github.com/dekk-app/react-mops/blob/master/packages/demo/src/pages/home.tsx

vercamach commented 3 years ago

Hello again,

I ended up using version 1 which works quite fine for what I need. I have an additional question.

In the application I'm building I need to manipulate the object also by changing inputs but it seems to not update the Box itself. Is there a way how to make it update based on the inputs as well and not just on the drag/resize/rotate?

https://codesandbox.io/s/react-mops-handle-282le

Thank you