Skip to content

Commit ccb4e67

Browse files
janicduplessisfacebook-github-bot
authored andcommitted
Blog - Background color is not supported by the native driver
Summary: This was a lie, background color is not supported (yet). Sorry for the false hopes :) Fixes #14178 Closes #15013 Differential Revision: D5424676 Pulled By: hramos fbshipit-source-id: ea592bf633f1632c931a9f18fe2fa9ebad6136be
1 parent ad9b66f commit ccb4e67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blog/2017-02-14-using-native-driver-for-animated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ After:
147147

148148
## Caveats
149149

150-
Not everything you can do with Animated is currently supported in Native Animated. The main limitation is that you can only animate non-layout properties, things like `transform`, `opacity` and `backgroundColor` will work but flexbox and position properties won't. Another one is with `Animated.event`, it will only work with direct events and not bubbling events. This means it does not work with `PanResponder` but does work with things like `ScrollView#onScroll`.
150+
Not everything you can do with Animated is currently supported in Native Animated. The main limitation is that you can only animate non-layout properties, things like `transform` and `opacity` will work but flexbox and position properties won't. Another one is with `Animated.event`, it will only work with direct events and not bubbling events. This means it does not work with `PanResponder` but does work with things like `ScrollView#onScroll`.
151151

152152
Native Animated has also been part of React Native for quite a while but has never been documented because it was considered experimental. Because of that make sure you are using a recent version (0.40+) of React Native if you want to use this feature.
153153

0 commit comments

Comments
 (0)