-
Notifications
You must be signed in to change notification settings - Fork 235
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
Impossible to past element on certain position #129
Comments
btw, I was trying to fix it. But don't understand for what do you insert one extra element with height 0.01 in the list? |
|
Thanks for you contribution, I tried you code in the example but introduces wrong behavior, when I activate a row but don't drag it, there is no placeholder for it anymore As for the |
Ah yes, I re-checked and see that after activations row immidiatly goes for a second to a new position, and after dragging it becomes on the right |
As for your problem, perhaps there is something wrong with the overlapping check |
yes, that was my first idea - I added a logs for that part - and it seems it works fine and at the same time, |
to be more precise - it is always not possible to past element before the first element (when it's in any position) |
then, I can suggest this way to solve the problem (while I still don't know the actual reason for the problem)
and now it looks like ok: |
I can't reproduce you problem, but I guess that's related to you data, you are using number as keys?
but I think we should use |
|
then if |
If order element like: 4-3-1-2
And try to drag element 1 and past to position between 4 and 3 - the displaying doesn't work properly.
See: https://drive.google.com/file/d/1RUCMVS6Yb9jaIHc-JlyABqG0xKZxK-iN/view?usp=sharing
It happens not always, but very often.
The text was updated successfully, but these errors were encountered: