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 https://github.com/facebook/react-native/pull/15013 Differential Revision: D5424676 Pulled By: hramos fbshipit-source-id: ea592bf633f1632c931a9f18fe2fa9ebad6136be
This commit is contained in:
parent
ad9b66fc6f
commit
ccb4e67756
|
@ -147,7 +147,7 @@ After:
|
|||
|
||||
## Caveats
|
||||
|
||||
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`.
|
||||
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`.
|
||||
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue