Closed
Description
Describe the bug
After upgrate the react-sortablejs version from 6.0.3 to 6.1.0, I got this error everytime I click on my sortable list:
Uncaught TypeError: Cannot assign to read only property 'chosen' of object '#<Object>'
To Reproduce
Steps to reproduce the behavior:
- Go to my repo: https://github.com/Saul-Mirone/vite-plugin-book
- Upgrade the react-sortablejs version to 6.1.0 in packages/vite-plugin-book/package.json
- Run
pnpm install
,pnpm dev
andpnpm doc
in root - Click on the sidebar and see error.
Expected behavior
Just work normally as v6.0.3
Information
Uncaught TypeError: Cannot assign to read only property 'chosen' of object '#'
Versions - Look in your package.json
for this information:
react-sortable = ^6.0.3
react = ^x.x.x
Additional context
I use nested sortable list.
Metadata
Metadata
Assignees
Labels
No labels