From eaf45af540fa9fb66aecc325ed258e43f13b68f7 Mon Sep 17 00:00:00 2001 From: Hao Date: Thu, 27 Apr 2023 06:28:32 +1000 Subject: [PATCH] Update grid animation with trackSizes --- Sources/View/Grid.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/View/Grid.swift b/Sources/View/Grid.swift index 2d59566..74bc8e9 100644 --- a/Sources/View/Grid.swift +++ b/Sources/View/Grid.swift @@ -117,7 +117,7 @@ public struct Grid: View, LayoutArranging, LayoutPositioning { .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) }) } } - .animation(self.gridAnimation) + .animation(self.gridAnimation, value: self.trackSizes) .frame( flow: self.flow, size: mainGeometry.size,