diff --git a/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift b/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift index 54fd5bf..9e622bc 100644 --- a/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift +++ b/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift @@ -39,6 +39,7 @@ struct RecommendMemeImagesView: View { .animation(.smooth, value: meme) } } + .scrollTargetLayout() // Border HStack(spacing: 0) { @@ -50,7 +51,6 @@ struct RecommendMemeImagesView: View { } } } - .scrollTargetLayout() .recommendSkeleton( isShow: memes.isEmpty, radius: 20, diff --git a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift index 1d478ff..d4d67e4 100644 --- a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift +++ b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift @@ -70,7 +70,6 @@ public struct RecommendView: View { ) .onReadSize { size in memeImageHeight = size.height - print("memeImageHeight: \(memeImageHeight)") } Spacer()