rcdexta / react-trello

Pluggable components to add a kanban board to your application
https://rcdexta.com/react-trello/
MIT License
2.19k stars 482 forks source link

Issue with Lane Menu on lane drag > NotFoundError: Failed to execute 'removeChild' on 'Node' > Deletes entire lane on drop #398

Open imgnx opened 4 years ago

imgnx commented 4 years ago

Describe the bug Lane Menu is duplicated when lane is dragged while menu is open. Upon dropping the lane, I got this error: NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

... then when I closed the error message, the entire lane was gone from my board.

To Reproduce Steps to reproduce the behavior:

  1. Click on three dots to get to lane actions
  2. Drag the lane while the lane menu is open

Expected behavior The lane menu should close before the lane starts moving and I shouldn't get an error when the lane is dropped.

Screenshots image image image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context I can't seem to reproduce the "deleting an entire lane" behavior as of right now. This bug deleted the entire "Todo" lane from my board. I'm going to keep trying to reproduce. I can get the Sentry report if you'd like.

SweydManaf commented 3 months ago

did u solve?