Skip to content

Commit 123dac2

Browse files
janicduplessisfacebook-github-bot
authored andcommitted
Allow animating the elevation style (facebook#20739)
Summary: Elevation should be supported by the native driver as it's a non-layout prop. Pull Request resolved: facebook#20739 Differential Revision: D9468318 Pulled By: hramos fbshipit-source-id: f8b8ca7536968ab8f6229c134fd169c321ccc651
1 parent 7ff9352 commit 123dac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Libraries/Animated/src/NativeAnimatedHelper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ const STYLES_WHITELIST = {
153153
borderTopLeftRadius: true,
154154
borderTopRightRadius: true,
155155
borderTopStartRadius: true,
156+
elevation: true,
156157
/* ios styles */
157158
shadowOpacity: true,
158159
shadowRadius: true,

0 commit comments

Comments
 (0)