-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Types for parentRef #26
Comments
no |
mire-toctoc
changed the title
does de drag and drop functionality just accepts the use of <ul> and <li> tags?
Types for parentRef
Mar 5, 2024
you can use
Personally, I've never gotten this to work properly with React unless I use nothing but the demo ul/li implementation with the useDragAndDrop hook. The only documentation otherwise is a 3 line snippet that doesn't even show useful usage, so I'd recommend @hello-pangea/dnd library instead for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does the drag and drop functionality just accepts the use of
<ul>
and<li>
tags?I'm currently having an issue related to the parent definition, where the error
Type 'MutableRefObject<HTMLUListElement>' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 290 more.
is present. I've tried different definition types for my parentRef, but is not working. Before this definition, I was trying to use a<div>
, but it has the same problem.Please, give us more information about expected types in both
and
hooks, so users can avoid having this kind of issues
My implementation:
The text was updated successfully, but these errors were encountered: