-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
onEnter event supported on Drawer component ? Want to call function when user open Drawer #3204
Labels
Comments
Can you try this? <Scene
drawer
hideNavBar
key="drawer"
contentComponent={SideMenu}
drawerImage={MenuIcon}
drawerWidth={300}
onEnter={() => alert("in drawer")}
> |
It seems that you got it working - in case it's not and you believe it's a bug - feel free to reopen the ticket. |
daviscabral
added
invalid
for stack overflow
Better suited for Stack Overflow
and removed
needs response from author
labels
Sep 1, 2018
@daviscabral Apologise for delay. It doesn't work this way as well. How can I help to find the issue, please assist. |
@anishroff I've added support for it in a PR. |
daviscabral
added a commit
that referenced
this issue
Sep 11, 2018
daviscabral
added
enhancement
and removed
for stack overflow
Better suited for Stack Overflow
invalid
labels
Sep 11, 2018
aksonov
pushed a commit
that referenced
this issue
Sep 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Tell us which versions you are using:
Expected behaviour
I want to call a function in component after user opens the Drawer. I tried with above code with no luck.
Actual behaviour
onEnter
alert is not shown when Drawer is opened. Is it supported onDrawer
? How to track if event of user opened Drawer ?Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.
The text was updated successfully, but these errors were encountered: