-
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
setVisibility on android native view module #5531
Comments
Hey soxunyi, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
Can you give an example and code sample on what are you trying to achieve? |
@satya164 Please run react-native run-android, then click button ’Click me!‘ on home page, but the right button can not be shown. You can see the following code in MyView.java
Thanks |
@facebook-github-bot stack-overflow |
Hey @soxunyi and thanks for posting this! @satya164 tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO. |
@soxunyi have you found out why? I think I may have encounter this issue as well in RN 0.52. |
I use android native view in js file,If a sub view 'mViewXXX' of native view is
setVisibility(View.GONE)
before render on screen, and click other button of native view to show mViewXXX(usingsetVisibility(VISIBLE)
), but mViewXXX is not show on screen. And I found its width and height are both zero, but its visibility is VISIBLE. Why fromsetVisibility(GONE)
tosetVisibility(VISIBLE)
not work? Anyone encounter this issue?The text was updated successfully, but these errors were encountered: