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

How do I detect swipe? #24

Open
eucliddelphi opened this issue Jan 24, 2024 · 1 comment
Open

How do I detect swipe? #24

eucliddelphi opened this issue Jan 24, 2024 · 1 comment

Comments

@eucliddelphi
Copy link

I can't detect swipe. These doen't work:

val actionsState = rememberSwipeableActionsState()

val offset by actionsState.offset // Doesn't change value. Always 0.0

actionsState.isResettingOnRelease // Doesn't change value. Always false

Thanks.

@saket
Copy link
Owner

saket commented Jan 24, 2024

Are you not receiving callbacks to SwipeAction#onSwipe for your actions?

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

2 participants