Will Change
Usageโ
Please refer to the
documentation on the Tailwind CSS website
Compatibilityโ
Class | Support |
---|---|
will-change-auto | ๐ Web only |
will-change-scroll | ๐ Web only |
will-change-contents | ๐ Web only |
will-change-transform | ๐ Web only |
Legend
Contributorsโ
We are looking for contributors for the following:
Add will-change-transform
โ
When a component has a transition or animation class name it will use react-native-reanimated
's Animated.createAnimatedComponent()
to make the component animated. If these class names are conditional, this will cause the component to unmount as NativeWind will conditionally render two different components.
A proposed solution is to use will-change-transform
to force the component to be animated, even if not required.