Skip to content

[iOS] applying LayoutAnimation to resize a View with shadow will result in artifacts #6151

Description

@seph14

I noticed this after the shadow implementation being switched to native stuff.
The artifacts is pretty obvious on the bottom side,

simulator screen shot feb 25 2016 11 51 57 pm
This one shows when the panel is animating, notice the bottom shadowing is being exaggerated.

simulator screen shot feb 25 2016 11 52 00 pm
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions