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

grid prop unused in handleDragStop #621

Merged
merged 3 commits into from Jan 27, 2022
Merged

Conversation

BrianHung
Copy link
Contributor

@BrianHung BrianHung commented Jan 7, 2022

Related: #507

Fixes: #413

@STRML
Copy link
Collaborator

STRML commented Jan 25, 2022

Thanks, would you mind adding a test please so this doesn't regress in the future? Thanks.

@BrianHung
Copy link
Contributor Author

@STRML Tell me if that works for you!

@STRML STRML merged commit 31798e9 into react-grid-layout:master Jan 27, 2022
@STRML
Copy link
Collaborator

STRML commented Jan 27, 2022

Thanks!

offlinehacker added a commit to offlinehacker/react-draggable that referenced this pull request Feb 27, 2022
If position is not avalible on drag stop, use last position. This fixes
tests for react-grid-layout#621
@BrianHung BrianHung deleted the patch-1 branch June 17, 2022 22:31
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.

Bug: onStop returns wrong positions when using grid
2 participants