I just tested with spring, bouncy, and InteractiveSpring animations; it’s fine; even easeInOut is working, but when using easeInOut, the image is pushed to top left, and it’s expanding from there.
There is an issue with the overlay image placed on top of the List. Because whatever content is vertically above the List will be hidden below the overlay image since the overlay does not respect the boundaries of the List - the overlay images will scroll beyond the bounds of the List. Try placing any view in a VStack with your List, and you will understand my issue.
Updated Version:
ua-cam.com/video/d0y_f9kCSDk/v-deo.html
Great tutorial..
Finally! It seems much better than the .matchedGeometryEffect() modifier.
Amazing achievement 👍
though placing photos over screen main size works!
looking super cool , instead of 0.45 delay can we use @State true on appear then perform tupple action ?
God that looks amazing. Wondering I can wrap that into something reusable.
Is the animation effect only works on snappy?
I'd try spring and easeInOut, but it didn't work properly with the image animation.
TKS!
I just tested with spring, bouncy, and InteractiveSpring animations; it’s fine; even easeInOut is working, but when using easeInOut, the image is pushed to top left, and it’s expanding from there.
@@Kavsoft My image animation can't work properly by dismiss the DetailView. It can zoom in the picture, but it can't zoom back out.
Does this work on ios16?
Hey, great content! But I have a question: How would you deal with the overlay on the home view going beyond the bounds of the list when it scrolls?
Hi, just to clarify, did you ask about how to add a detail view as a scroll view?
There is an issue with the overlay image placed on top of the List. Because whatever content is vertically above the List will be hidden below the overlay image since the overlay does not respect the boundaries of the List - the overlay images will scroll beyond the bounds of the List. Try placing any view in a VStack with your List, and you will understand my issue.
@@johannes_g Hey did you find solution to this? I'm also facing same issue.
WOW!!
Similar question as others here, how can you overlay a scroll view for long content?
Just for clarification, are you asking how to convert the detail view into a scrollable view?
correct @@Kavsoft
Its so sad that you can’t do this between pages using navigationlink
So there is no way to do this through NavigationLink? :( makes the code messy
As of now, the matchedgeometry effect won’t work on sheets or navigation links.
stopped my code during injection of new content