x-for draggable issues #1377
Unanswered
liam-edwards
asked this question in
5. Bugs
Replies: 1 comment
-
|
For me it seems to always work correctly. I tried dropping at different speeds, and tried various combinations but couldn't get it to error. Is it browser specific for you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure how best to describe this issue, or even if it's an issue at all. Could very well be an issue with my code.
I have a list of items that gets rendered to the DOM within an
x-forloop. I also have a way to drag each item in order to reorder them. All of this works some of the time however there are issues and I believe Alpine'sx-forto be responsible for some of them, but please do correct me if I'm wrong.Pen to reproduce:
https://codepen.io/liamedwards-dev/pen/eYvrrXO
In the pen, if you drag the fourth item to the second spot, depending on the speed of which you drag, one of three things will happen:
Beta Was this translation helpful? Give feedback.
All reactions