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

Set the start position of a moveable object #1124

Open
rajvinderparmar opened this issue Jul 9, 2024 · 0 comments
Open

Set the start position of a moveable object #1124

rajvinderparmar opened this issue Jul 9, 2024 · 0 comments

Comments

@rajvinderparmar
Copy link

Environments

  • Framework name: React Moveable
  • Framework version: "react-moveable": "^0.56.0",
  • Moveable Component version:
  • Testable Address(optional):

Description

I am using "Moveable" to allow the user to drag and drop a "pin" overlayed on an image to mark certain points on the image.

Where the user places the pins will be saved (clientx, clienty), but I can't figure out how to set the correct position of the "pin" when the page is re-loaded.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant