S
S
Sergey750il2021-11-08 01:44:11
JavaScript
Sergey750il, 2021-11-08 01:44:11

How does drag n drop work when sorting elements?

Good day. How drag n drop works when moving between blocks is clear, but I can’t understand how it works when sorting list items. How to catch that the element jumped over the "neighbor" and, accordingly, find out what to change the index of the element in the model to?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question