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 doesn't work when using saved data. #481

Open
Roshan54321 opened this issue May 13, 2024 · 3 comments
Open

Drag doesn't work when using saved data. #481

Roshan54321 opened this issue May 13, 2024 · 3 comments

Comments

@Roshan54321
Copy link

Roshan54321 commented May 13, 2024

Problem: When new components are made, drag works. But just as I save the data and reload the page, the components can't be dragged. Add a new component right there, the drag again works.

Console:
image

Root structure is similar as that of puck's demo.

React: 17.0.1
Puck: 0.14.2

@chrisvxd
Copy link
Member

Hi @Roshan54321 - can you share a codepen or similar?

@Roshan54321
Copy link
Author

Hi @Roshan54321 - can you share a codepen or similar?

I can't recreate it. I definitely can't clone the whole thing for personal reasons. Can you tell me what can be the possible reason for the warnings above?

I'll try to recreate it further.

@chrisvxd
Copy link
Member

chrisvxd commented Jun 7, 2024

I'm not entirely sure, which is why I need the codepen 😅

The drag-and-drop library is failing to find the draggable items, which is possibly because they're not mounting correctly.

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