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

Possibility to only target the cancelButton's onPress #39

Open
ghost opened this issue Oct 18, 2017 · 0 comments
Open

Possibility to only target the cancelButton's onPress #39

ghost opened this issue Oct 18, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 18, 2017

I was wondering if it was possible to only target the cancelButton's onPress handling.

Right now, I use the searchbox as header that triggers a redirect to another set of screens with the results. onCancel the user gets redirected to the previous screen. However, onCancel feels almost the same as I would be using onBlur. I was hoping onCancel was only the handling of the cancel button, but I was wrong.

Is there a way to target only the cancel Button to attach an action to?

Kind regards!

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

0 participants