We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7749eb3 commit fd0dfc8Copy full SHA for fd0dfc8
packages/polaris-viz/src/components/StackedAreaChart/components/StackedAreas/StackedAreas.tsx
@@ -88,6 +88,7 @@ export function StackedAreas({
88
{stackedValues.map((data, index) => {
89
const dataIsValidForAnimation =
90
!previousStackedValues ||
91
+ !previousStackedValues[index] ||
92
data.length === previousStackedValues[index].length;
93
94
const AreaComponent = dataIsValidForAnimation ? AnimatedArea : Area;
0 commit comments