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
dragging working not correct #2009
Comments
I updated to version 1.4.4 and also encountered the same issue. Through debugging, I found that it was due to the changes in the logic for calculating top and left in #1323 . The key issue was caused by the containerPadding. I locally patched the previous version of the GridItem file to fix it. |
@jay0815 hey, could you describe your patch? What did you do? |
@artem-malko here is my patch. react-grid-layout@1.4.4.patch |
By the way, if you set padding to [0, 0] — everything will work great) |
@artem-malko hello,i have submitted a PR to fix the current bug. |
@jay0815 thx a lot, will be waiting for review and release |
have same issue, |
Hi guys, I have the same problem. On dragging the block moves by itself to position 0,0. |
Have some issue, THX a lot. |
Describe the bug
dragging working not correct when you try to add prop isBounded to ResponsiveReactGridLayout
Your Example Website or App
https://codesandbox.io/p/sandbox/angry-grothendieck-lxtvsf?file=%2Fsrc%2FShowcaseLayout.js%3A88%2C10-88%2C35
Steps to Reproduce the Bug or Issue
Expected behavior
dragging follows cursor
react-grid-layout library version
1.4.4
Operating System Version
macos monterey 12.3
Browser
Chrome
Additional context
its working on 1.4.3
Screenshots or Videos
2024-01-17.12.55.22.mov
The text was updated successfully, but these errors were encountered: