We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there, I accidentally found the drag and drop operation failed when you setup the array index as UniqueIdentifier for instance
UniqueIdentifier
const array = {'index': 0, 'item': 'a', 'index': 1, 'item': 'b'} <SortableContext items={array.map(item => item['index'])}/>
you can never drag the first element in this case. i guess 0 recognized as false. is this situation deliberately designed?
false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there, I accidentally found the drag and drop operation failed when you setup the array index as
UniqueIdentifier
for instance
you can never drag the first element in this case. i guess 0 recognized as
false
. is this situation deliberately designed?The text was updated successfully, but these errors were encountered: