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

Drag Image Click Anchor #939

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kcvikander
Copy link

@kcvikander kcvikander commented Apr 8, 2024

When using the built in drag and drop functionality by setting isDraggable to true, the dragImage is automatically anchored to the center of the drag image.

This update adds a new prop, dragImageAnchor to allow changing where the cursor is anchored to on the drag image.

@kcvikander kcvikander marked this pull request as draft April 8, 2024 17:47
@kcvikander kcvikander changed the title Drag Anchor Update Drag Image Click Anchor Apr 8, 2024
@kcvikander kcvikander marked this pull request as ready for review April 8, 2024 18:40
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

Successfully merging this pull request may close these issues.

1 participant