aheze / SwipeActions

Add customizable swipe actions to any view.

Home Page:https://twitter.com/aheze0/status/1646399867764510721

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple actions collapsing on long swipe?

ericalas93 opened this issue · comments

Is there a way to make it so that if there are multiple actions on a view, if the user swipes a certain threshold it shows action1, if they keep swiping it switches to action2?

And if so, can they support swipe to perform action? As in, if they swipe a certain amount while action1 is showing and release it fires the event

example: https://wefwef.app/posts/lemmy.world/all
if you swipe on a post it shows 1 action, continue swiping it shows action 2? (this example appears to be heavily inspired by Apollo)

Hmm, SwipeActions doesn’t support this currently, but it shouldn’t be too bad to fork it and add some custom logic

Hmm, SwipeActions doesn’t support this currently, but it shouldn’t be too bad to fork it and add some custom logic

Makes sense! I'll try giving it a shot, thanks for the prompt reply!