I just want to remove the animation on the offset. Is something like this possible ? If you do not remove that animation, when I scroll as in the image below, the visual animation will go into effect and a hitch occurs.
remove the animation on the offset. I just want to add animation on the frame.
Gif is here.
GeometryReader { geometryReader in
Image(movie.poster)
.resizable()
.animation(.none)
.offset(x: self.isOpeningDetailView ? -35 : -geometryReader.frame(in: .global).minX)
.animation(.easeInOut)
.frame(width: width,height: self.isProfileViewOpen ? height * 0.60 : height * 0.70, alignment: .trailing)
}