-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Incompatible with react-native 0.76 on iOS due to border radii #125
Comments
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
Many thanks for providing a patch for this issue. Fixed my build problem and saved me time. Kudos! |
Thank you @jparkrr for providing a patch for this 🙏 |
Build just errored out for the same reason. Thanks for the patch and looking forward to having it in a new release soon. |
I've released a pre-release which should solve the compatibility issues on both iOS and Android. On iOS I didn't see any issues after the changes, on Android there seems to be a subtle rendering mismatch in the border rendering, but it should work though. I've published it as a pre-release (v0.9.0-rc0) to NPM, which you can install using Please let me know if that resolves the problem for you 🙏 |
There were some changes to RCTCornerRadii in 0.76: facebook/react-native#46009. This causes this package to error during compilation for iOS.
I made a quick patch with patch-package. I've done some brief tests and it seems to work. This assumes all your border radii are symmetric, so a real PR would need to take asymmetric values into account. Also this patch is not backwards compatible.
patches/react-native-shared-element+0.8.9.patch
:The text was updated successfully, but these errors were encountered: