kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Element gets added again when I swipe left #97

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hey, I just tried slipjs and I found out, that every element gets added again, after I remove it. Is there a way to prevent that? Thanks, Adam

kornelski commented 6 years ago

You have to listen to the event and remove the element from the DOM yourself. This library only animates, but does not remove or add anything itself.

ghost commented 6 years ago

Okay, thanks! 👍