From cf438ba8ebf5def813acc2304b1ce99b295daa90 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Mon, 26 Mar 2018 15:21:36 -0400 Subject: [PATCH 1/2] Native Animated - Support border radius --- Libraries/Animated/src/NativeAnimatedHelper.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Libraries/Animated/src/NativeAnimatedHelper.js b/Libraries/Animated/src/NativeAnimatedHelper.js index 5765dcfc63b829..5e69ac08335890 100644 --- a/Libraries/Animated/src/NativeAnimatedHelper.js +++ b/Libraries/Animated/src/NativeAnimatedHelper.js @@ -145,6 +145,16 @@ const API = { const STYLES_WHITELIST = { opacity: true, transform: true, + borderRadius: true, + borderBottomEndRadius: true, + borderBottomLeftRadius: true, + borderBottomRightRadius: true, + borderBottomStartRadius: true, + borderBottomWidth: true, + borderTopEndRadius: true, + borderTopLeftRadius: true, + borderTopRightRadius: true, + borderTopStartRadius: true, /* ios styles */ shadowOpacity: true, shadowRadius: true, From 30ada7e06fe8b2bb7700461f1aaf306527491ece Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Mon, 26 Mar 2018 15:28:10 -0400 Subject: [PATCH 2/2] Update NativeAnimatedHelper.js --- Libraries/Animated/src/NativeAnimatedHelper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/Animated/src/NativeAnimatedHelper.js b/Libraries/Animated/src/NativeAnimatedHelper.js index 5e69ac08335890..68bf4563fa9597 100644 --- a/Libraries/Animated/src/NativeAnimatedHelper.js +++ b/Libraries/Animated/src/NativeAnimatedHelper.js @@ -150,7 +150,6 @@ const STYLES_WHITELIST = { borderBottomLeftRadius: true, borderBottomRightRadius: true, borderBottomStartRadius: true, - borderBottomWidth: true, borderTopEndRadius: true, borderTopLeftRadius: true, borderTopRightRadius: true,