summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index bfc2b1b..5b44a10 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -100,6 +100,7 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length
}
.animation(.easeInOut, value: manager.isLoading)
}
+ .id(query.id)
.opacity(isActive ? 1 : 0)
.frame(height: isActive ? nil : 0)
.animation(.easeInOut, value: isActive)