-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[WIP] Initial implementation of Modal on Android #5320
Conversation
By analyzing the blame information on this pull request, we identified @mkonicek, @ajwhite and @bestander to be potential reviewers. |
@@ -0,0 +1,72 @@ | |||
package com.facebook.react.views.modalhost; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add a license header please
@mkonicek Done :) |
@satya164 updated the pull request. |
Wow that was fast! I assume I'll have to update some internal Buck files in order to merge this, let's see :) @facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/741802762587821/int_phab to review. |
@satya164 updated the pull request. |
Import failed? @mkonicek |
Yup need to update BUCK files. |
Resolved conflicts. |
@satya164 updated the pull request. |
Nice work :) |
Cool, will update the Buck files and merge this. I'm doing an internal hackathon today with Shawn Wilsher from the Buck team trying to get OSS RN to build with Buck. Will move the release to Monday. @facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/741802762587821/int_phab to review. |
Does the Modal work well for you? I've added |
@mkonicek I had only tried closing the modal with back button. Will investigate what's happening. Thanks. |
@satya164 updated the pull request. |
@satya164 updated the pull request. |
So, I've been trying to fix the I cannot add the instance of the class to the dialog either, because that instance is appended to a parent view on it's creation |
cc @AaaChiuuu |
Thanks for looking into it and sorry about that, I assumed it worked out of the box! |
@mkonicek Me too. Let's get it fixed. It's gonna save me a bunch of really ugly code :D |
@mpretty-homepass Nope. There are some technical difficulties we need to handle before this can be merged. It might take some time. |
@satya164 Ok I'll set Android up to push all modals for the time being, thanks for the update. |
|
The
<Modal />
component has the same API as on iOS - http://facebook.github.io/react-native/docs/modal.html#contentThe
animated
prop is not implemented yet.