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

On IOS, setting distance=0 does not work properly #63

Open
huangsheng912 opened this issue Nov 20, 2022 · 2 comments
Open

On IOS, setting distance=0 does not work properly #63

huangsheng912 opened this issue Nov 20, 2022 · 2 comments

Comments

@huangsheng912
Copy link

On IOS, if borderRadius is set in child‘s style, distance=0 will cause an exception.
<Shadow distance={0} startColor='#E43B5F' offset={[0, 4]}> <View style={{width: 100, height: 100, borderRadius: 50, backgroundColor: 'blue'}} /> </Shadow>
shadow

@ftzi
Copy link
Owner

ftzi commented Dec 11, 2022

Can you reproduce it here? https://snack.expo.dev

@huangsheng912
Copy link
Author

https://snack.expo.dev/@huang912/courageous-juice-box
shadow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants