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 want to process the onReorderDone callback once and send a backend request with the final move operation,
therefore I keep track of the item indices (derived from the item keys) during the onReorder callbacks.
The problem is that the onReorder never gets called with the original item key as second parameter, when the moving item is dragged over its placeholder. So I can not detect this state, where the item should not be moved at all during the onReorderDone callback.
This is because the most recent onReorder callback produced a movement operation either one above or below the currently moving item.
Is it possible to achieve this behaviour, and if not what would break?
The text was updated successfully, but these errors were encountered:
I want to process the onReorderDone callback once and send a backend request with the final move operation,
therefore I keep track of the item indices (derived from the item keys) during the onReorder callbacks.
The problem is that the onReorder never gets called with the original item key as second parameter, when the moving item is dragged over its placeholder. So I can not detect this state, where the item should not be moved at all during the onReorderDone callback.
This is because the most recent onReorder callback produced a movement operation either one above or below the currently moving item.
Is it possible to achieve this behaviour, and if not what would break?
The text was updated successfully, but these errors were encountered: