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

onRequestClose??? #17

Open
haofeng123 opened this issue Jan 13, 2018 · 1 comment
Open

onRequestClose??? #17

haofeng123 opened this issue Jan 13, 2018 · 1 comment

Comments

@haofeng123
Copy link

i can't find onRequestClose

@Noitidart
Copy link

Also looking for this feature. On Android. Basically what this does is, on mount it adds BackHandler.addEventListener and triggers the callback. If onRequestClose is not provided, then it does not add BackHandler.addEventListener. This is important differentiation, because if return truthy from event listener, it stops the back handler from propagating to previously registered BackHandler.addEventListener.

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