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

After using the new React Native architecture, both Android and IOS reported errors due to enabling Fabric. The error is as follows: Warning: ref.measureLayout must be called with a ref to a native component #15

Open
shuiyuexuan526 opened this issue Apr 2, 2024 · 4 comments · May be fixed by #16
Labels
enhancement New feature or request

Comments

@shuiyuexuan526
Copy link

After using the new React Native architecture, both Android and IOS reported errors due to enabling Fabric. The error is as follows: Warning: ref.measureLayout must be called with a ref to a native component

@zhbhun zhbhun added the enhancement New feature or request label Apr 25, 2024
@JedrekDabrowski
Copy link

Any update on that?

@Vashiru
Copy link

Vashiru commented Nov 16, 2024

Can confirm that this is (still) an issue on RN 0.76 and breaks the entire implementation.

@Vashiru
Copy link

Vashiru commented Nov 16, 2024

I'll submit a pull request fixing the issue in a few, for now here's a patch package for anyone else running into this issue:
https://gist.github.com/Vashiru/28ac8b9e565ad22e656774a2c1ec5fe9

@PaddaSecurity
Copy link

Commenting here - facing same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
5 participants