From 123dac252afa224130eb3c5477840ccf66097e90 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 22 Aug 2018 13:33:14 -0700 Subject: [PATCH] Allow animating the elevation style (#20739) Summary: Elevation should be supported by the native driver as it's a non-layout prop. Pull Request resolved: https://github.com/facebook/react-native/pull/20739 Differential Revision: D9468318 Pulled By: hramos fbshipit-source-id: f8b8ca7536968ab8f6229c134fd169c321ccc651 --- Libraries/Animated/src/NativeAnimatedHelper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Animated/src/NativeAnimatedHelper.js b/Libraries/Animated/src/NativeAnimatedHelper.js index 3142ea24c..ca1399dcf 100644 --- a/Libraries/Animated/src/NativeAnimatedHelper.js +++ b/Libraries/Animated/src/NativeAnimatedHelper.js @@ -153,6 +153,7 @@ const STYLES_WHITELIST = { borderTopLeftRadius: true, borderTopRightRadius: true, borderTopStartRadius: true, + elevation: true, /* ios styles */ shadowOpacity: true, shadowRadius: true,