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

Replace react-beautiful-dnd #115

Open
Flaburgan opened this issue May 15, 2024 · 2 comments
Open

Replace react-beautiful-dnd #115

Flaburgan opened this issue May 15, 2024 · 2 comments

Comments

@Flaburgan
Copy link

react-beautiful-dnd has been deprecated by Altassian and they now advise using Pragmatic Drag n Drop. They even provide an optional package to automatically migrate from React Beautiful dnd: https://atlassian.design/components/pragmatic-drag-and-drop/optional-packages/react-beautiful-dnd-migration/about

Unfortunately, Sensors are not supported in this migration tool, so we lose the auto moving of cards and probably other features (defined in https://github.com/tom-james-watson/wikitrivia/blob/master/lib/useAutoMoveSensor.ts), so some code has to be rewritten, to be seen what Pragmatic allows to do.

@tom-james-watson
Copy link
Owner

While it's still supported with security updates, there's not really any point in doing this, as it sounds like there's nothing to gain anyway.

Will leave this open in case somebody wants to have a crack at it.

@Flaburgan
Copy link
Author

Personally I have weird behavior with the current lib on https://www.disco2very.org : the cards are moving weirdly when I try to put them on the board. I will investigate and see how hard it is to replace it.

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

No branches or pull requests

2 participants