-
Notifications
You must be signed in to change notification settings - Fork 24.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
[iOS] applying LayoutAnimation to resize a View with shadow will result in artifacts #6151
Comments
What react native version are you using? |
I'm on 0.19 and yes the shadow is using the native implementation. I haven't tested if shadow breaks while view is only resizing and not moving, |
@jaredly sorry but will this receive any fix? |
GIven that there are 830 open issues, the best way to get progress on this is to try and fix it yourself ;) it's possible that someone from the core team will decide to investigate this, but there are more far-reaching bugs & deficiencies with react native that will probably take priority. |
Hi there! This issue is being closed because it has been inactive for a while. But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-applying-layoutanimation-to-resize-a-view-with-shadow-will-result-in-artifacts ProductPains helps the community prioritize the most important issues thanks to its voting feature. Also, if this issue is a bug, please consider sending a pull request with a fix. |
Hi @seph14 were you able to solve this issue ? |
I noticed this after the shadow implementation being switched to native stuff.
The artifacts is pretty obvious on the bottom side,
This one shows when the panel is animating, notice the bottom shadowing is being exaggerated.
This one shows how the shadow should look like (after the animation is done).
The shadow property used is
shadowColor: '#666',
shadowOpacity: 0.6,
shadowOffset: {width:0,height:0},
shadowRadius: 1
The text was updated successfully, but these errors were encountered: