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 to prevent push more than once when tapping button too fast #1158

Closed
keithcml opened this issue Apr 21, 2017 · 3 comments
Closed

How to prevent push more than once when tapping button too fast #1158

keithcml opened this issue Apr 21, 2017 · 3 comments

Comments

@keithcml
Copy link

I have a button in my app to navigate screen, if I tapping the button too fast. Screen will bee pushed more than once.

Anyone can help to explain it and guide me how to do.

@navid94
Copy link

navid94 commented Apr 21, 2017

Already answered here #271
I created the navigateWithDebounce action like explained by dzuncoi comment, then set the timeout according to your needs.

@jaygarcia
Copy link

I was going to solve this on my end by listening to transition start and end, but your solution is way better, @navid94

@grabbou
Copy link

grabbou commented Apr 22, 2017

Duplicate of #135

@grabbou grabbou closed this as completed Apr 22, 2017
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

4 participants