-
Notifications
You must be signed in to change notification settings - Fork 248
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
preserveOffsetOnSource always returns { x: 0, y: 0 } #177
Comments
Hi @richburdon!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1). Using the pattern below
getOffset
is called before the preview portal is created, so the container is empty. I've worked around this by passing the element itself as the container.2). Even so, on drop, the current position is randomly 1 pixel off the native rendered position, so the object seems to jump if it is absolutely positioned. (This doesn't happen if I disable the native drag preview via
disableNativeDragPreview
).The text was updated successfully, but these errors were encountered: