From 6a4e06faa8afbcb607fc2696c45c4f3257b6665d Mon Sep 17 00:00:00 2001 From: Mackenzie Mance Date: Thu, 30 Jan 2020 22:13:26 -0800 Subject: [PATCH] Allow zIndex to useNativeDriver (#27418) Summary: STYLES_WHITELIST +zIndex Pull Request resolved: https://github.com/facebook/react-native/pull/27418 Test Plan: Working on sim and device. Differential Revision: D19644753 Pulled By: shergin fbshipit-source-id: 9a3516f65de7011f7e91587e62153e083504d283 --- 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 25fde53b628..7e9695f538f 100644 --- a/Libraries/Animated/src/NativeAnimatedHelper.js +++ b/Libraries/Animated/src/NativeAnimatedHelper.js @@ -172,6 +172,7 @@ const STYLES_WHITELIST = { borderTopRightRadius: true, borderTopStartRadius: true, elevation: true, + zIndex: true, /* ios styles */ shadowOpacity: true, shadowRadius: true,