You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with this really annoying legacy code that I was asked to implement a dnd feature on it. I am unable to refactor the html elements into react components, so I have to work with <table>, <tr>, and <td> elements, and I was able to make it work for the most part.
If a SortableItem exists within its own SortableContext it is working fine and the rendering is beautiful, however, if the item is dragging over to a different SortableContext it is not rendering anything. Does anyone have any idea why this is happening? Here is a video of it happening:
Screen.Recording.2024-07-04.at.12.mp4
And here is my code, sorry for not setting up a sandbox, I have a feeling that I won't be able to reproduce this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi dnd-kit community!
I am working with this really annoying legacy code that I was asked to implement a dnd feature on it. I am unable to refactor the html elements into react components, so I have to work with
<table>, <tr>, and <td>
elements, and I was able to make it work for the most part.If a
SortableItem
exists within its ownSortableContext
it is working fine and the rendering is beautiful, however, if the item is dragging over to a differentSortableContext
it is not rendering anything. Does anyone have any idea why this is happening? Here is a video of it happening:Screen.Recording.2024-07-04.at.12.mp4
And here is my code, sorry for not setting up a sandbox, I have a feeling that I won't be able to reproduce this:
Beta Was this translation helpful? Give feedback.
All reactions