sandstreamdev/react-swipeable-list

Users should be able to opt out of the return tile animation.

akshar07 opened this issue ยท 4 comments

When deleting something from a list, the return animation of the tile makes it confusing for the user.

the current animations are perfect for functionality like mark as unread but for delete or remove functionality, the tile should not perform the return animation.

Hi, thanks for feature request :) I'm currently fixing somehow related issue #133. You can check propsal of solution here #144. Your issue fix proposal is here:

endAnimation: 'delete',

There will be possibility to have: default return animation, remove animation or disable animation (item will stay where it was moved). This is just draft so all comments are welcome.

@all-contributors please add @akshar07 for ideas

@marekrozmus

I've put up a pull request to add @akshar07! ๐ŸŽ‰

@akshar07 release with fixes is ready - enjoy ๐ŸŽ‰