useNativeDriver to false in collapsible card due to height animation

This commit is contained in:
Sadaqat Ali 2022-09-24 22:05:23 +05:00
parent a27b383650
commit dede6f280c

View File

@ -50,6 +50,7 @@ class CollapsibleCardView extends PureComponent {
Animated.timing(this.anime.height, {
toValue: this.anime.expanded ? this._getMinValue() : this._getMaxValue() + (moreHeight || 0),
duration: 200,
useNativeDriver: false,
}).start();
this.anime.expanded = !this.anime.expanded;