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

React: issue when dragging between 2 grids demo #2748

Open
moonsky-all opened this issue Jul 24, 2024 · 2 comments
Open

React: issue when dragging between 2 grids demo #2748

moonsky-all opened this issue Jul 24, 2024 · 2 comments

Comments

@moonsky-all
Copy link

moonsky-all commented Jul 24, 2024

Subject of the issue

https://gridstackjs.com/demo/react-hooks-controlled-multiple.html

Your environment

  • gridstack.js 10.1.2
  • MacOS 14.5, Chrome126

Steps to reproduce

https://gridstackjs.com/demo/react-hooks-controlled-multiple.html

iShot_2024-07-24_17.31.06.mp4

The video can also be visually displayed. When entering the page and making some adjustments (stacking any two nodes together), then dragging a node from another group according to the video display path and inserting it from bottom to top, the node disappears and an error is reported in the browser console, causing some nodes to be unavailable

I have re recorded another video

image

@adumesny
Copy link
Member

please convert this to english.

@gridstack gridstack deleted a comment from moonsky-all Jul 25, 2024
@adumesny adumesny changed the title 当从从一个组拖拽到另一组的时候,节点丢失了,并在控制台报错 React: issue when dragging between 2 grids demo Jul 25, 2024
@adumesny
Copy link
Member

I don't use React so the issue could very well be in the React demo code...

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

No branches or pull requests

2 participants