Skip to content
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

[Bug] Item will be eaten #186

Open
yenche123 opened this issue Feb 4, 2023 · 6 comments
Open

[Bug] Item will be eaten #186

yenche123 opened this issue Feb 4, 2023 · 6 comments

Comments

@yenche123
Copy link

The following video is the demo on the Introduction.
When moving a item in the current column and then clicking on this column, the item will be eaten.
The situation always happens in this scene.

anonymous_083110d1-af1d-49b9-8585-273d2b7b1658_video.mp4
@yenche123
Copy link
Author

yenche123 commented Feb 4, 2023

I found a creepy solution, which is to specify a positive integer on distance prop of SlickList.

<SlickList :distance="1">

@Eschiclers
Copy link

I found a creep solution, which is to specify a positive integer on distance prop of SlickList.

<SlickList :distance="1">

We love you

@yenche123
Copy link
Author

@Eschiclers 🤣Tks!

@zugazagoitia
Copy link

I found a creepy solution, which is to specify a positive integer on distance prop of SlickList.

<SlickList :distance="1">

Unfortunately, this fix doesn't entirely work, it breaks scrolling on mobile.

@goulashify
Copy link
Contributor

Thanks for your solution @yenche123, it works for me! This happened to me w/ nested lists w/ groups; same steps as yours (sort, then click on container after).

I put a breakpoint on node removal, and this is where I landed after clicking the container:
image

It looks like it's confusing something related to ghost nodes.

@MRezaKarimi
Copy link

I found a creepy solution, which is to specify a positive integer on distance prop of SlickList.

<SlickList :distance="1">

You saved my day! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants