-
Notifications
You must be signed in to change notification settings - Fork 1.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
support border raduis for android #59
Conversation
Might be missing something but if I try to manually implement these changes I can't get a truly round image, the corners just get weirdly clipped. |
@foggy1 yes true but it's working different size. |
i just test 60*60 radius 30, it works fine,could you show me how to reproduce the bug? |
@yiky84119 Yes i can give more information few hours later. Maybe you just test on ios? Did you test on Android? |
@yiky84119 my image style, Android version: 5.1.1 |
I have fix it, you can try again later. |
@yiky84119 i checked and it's fixed. Thank you! |
@yiky84119 Android seems a bit buggy, and the radius is incorrect. using: Any idea why? Is there a way to make it work like the original react-native's |
Does any new things about this issue? |
My workaround for this is as follows:
The styles are just |
sorry guys, only support square picture now, i will fix later |
Thanks for all the help looking into this, sorry for the wait. I think the wrapping view approach is probably the best because it:
A new version has been released that you can try out now. |
@DylanVann I had border radius working on android before migrating to FastImage by using the combination View + borderRadius + overflow hidden. But it doesn't work with FastImage. If you are talking about the comment above yours, it's basically using normal Image when it's android, which I don't consider a solution. |
@brunolemos That's the solution being used in the image above. I think it does work, maybe you were trying before they implemented the masking on android. |
Upgrading react native made it work on Android :) Before upgrading I was using |
can anyone confirm that border radius does work on android ? |
same here, not working on android device: "react-native": "^0.53.3", |
i ended this by wrapping fast-image within view:
|
No description provided.