-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
UIManager.measure dose not work on Android #22443
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write |
Please reproduce the issue with the latest React Native version. |
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists. The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running |
I have paste the react-native info under the Environment tag,and I could not found anything about this issue. |
|
Did you tried with latest RN version? |
YES,it worked,thank you very much. And it also work fine on the react-native 0.56 demo, |
I'm closing this then. |
UIManager.measure still dose not work on Android with React Native 0.59 |
i'm facing this issue, setTimeOut to UIManager.measure make it works but sometimes, it returns wrong values. |
I have same issue in react native version 0.59.9 :v |
same issue on react native version 0.59.9. any solution would be great. tried using collapsable={false} on the view i am measuring and also tried using onLayout={() => {}) on the same view as per the solutions provided in responses of similar issues. no luck yet. at the same time this works on another react native project. no idea why its not working here. |
We won't be able to fix that on 0.59.x, but if you can reproduce that issue on 0.61.x please open another issue and then maybe you will be able to patch it) |
Environment
Description
I use the UIManager.measure like this,and it can scroll to the right place on the iOS.
but on android ,the console.log result is undefined,
The text was updated successfully, but these errors were encountered: