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

Unable to find draggable with id: c4f95001-5f56-41c7-9712-2ce23dd4270a #44

Closed
trevorpfiz opened this issue Nov 27, 2022 · 6 comments
Closed
Labels

Comments

@trevorpfiz
Copy link

trevorpfiz commented Nov 27, 2022

Hi! I am trying to implement the latest version of orderable-document-list in nextjs-blog-cms-sanity-v3.

I have it set up, but I am unable to drag the items.

react-beautiful-dnd: Unable to find draggable with id: c4f95001-5f56-41c7-9712-2ce23dd4270a

I am also getting a warning, Warning: Connect(Droppable): Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

I will keep playing around, but is there a working repo of this plugin working in Sanity Studio v3? An example would go a long way.

Thanks! ❤️

@kaanbasal
Copy link

kaanbasal commented Nov 29, 2022

@ElektrikSpark its related to react-beautiful-dnd package that is used. it is the root cause of the issue. you can see the details here:

atlassian/react-beautiful-dnd#2350

@trevorpfiz
Copy link
Author

trevorpfiz commented Dec 4, 2022

Can anyone confirm that they have Sanity Studio v3 working with this plugin (able to drag items)?

Right now it seems my only option is to use the increment arrows which will take forever will all of my posts.

@trevorpfiz
Copy link
Author

trevorpfiz commented Dec 8, 2022

I was finally able to try the studio in production, and it seems that everything is working! 🎉 I guess this plugin does not currently work in development?

@alainkaiser
Copy link
Contributor

@ElektrikSpark I got the exact same issue as you described above. Also on my end, the drag and drop functionality of the plugin only works in production.

The warning i am getting is the following one:

Warning: Connect(Droppable): Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

In production, the plugin works perfectly. Any plans on how we could resolve it in dev?

@alainkaiser
Copy link
Contributor

alainkaiser commented Feb 8, 2023

Opened a PR for this one.
#56

@stipsan stipsan closed this as completed in 4558023 Mar 1, 2023
@github-actions
Copy link

github-actions bot commented Mar 1, 2023

🎉 This issue has been resolved in version 1.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

3 participants