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

Activate dragging with onPressLong event #76

Open
luchob89 opened this issue Aug 31, 2020 · 0 comments
Open

Activate dragging with onPressLong event #76

luchob89 opened this issue Aug 31, 2020 · 0 comments

Comments

@luchob89
Copy link

Hi! I have an "X" image that acts as close button for my screen. I was wondering if I could change the events this way: on one normal press, go back to last Screen (Navigation.goBack() in my case) and after onLongPress, start dragging. I mean to swap what it could be considered the "expected" behaviour. Basically I want my app's user to go Back on one press and to start dragging after one second (I think that's the time value of onLongPress) of holding it's finger in the "X" image. Is there a possibility to do it? Am I missing something that can already be done? Thanks in advance!

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

1 participant