diff --git a/releases/next/docs/animations.html b/releases/next/docs/animations.html index ab18579556b..a7828bcc354 100644 --- a/releases/next/docs/animations.html +++ b/releases/next/docs/animations.html @@ -190,7 +190,7 @@ the animation will always run a frame behind the gesture due to the async nature then loading the Native Animated Example. You can also take a look at the source code to learn how these examples were produced.

Caveats #

Not everything you can do with Animated is currently supported by the native driver. 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 will not. +things like transform and opacity will work, but flexbox and position properties will not. When using 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.

Additional examples #

The RNTester app has various examples of Animated in use:

LayoutAnimation API #

LayoutAnimation allows you to globally configure create and update animations that will be used for all views in the next render/layout cycle.