I have a list of navigation links. Pressing a list item navigates to detail view. So far so good. My issue is that I want to do it programmatically as well. Deep linking a notification for example.
It works as long as the list item is visible. But once it is off screen it wont work. So I figured I add a scrollViewReader and then a scrollTo. But scrollto is async and I can't figure out how to wait with navigation until scrollTo is done. Is there some even I can listen too?
I'm on iOS 14 if there's any new solution for it there.
It works as long as the list item is visible. But once it is off screen it wont work. So I figured I add a scrollViewReader and then a scrollTo. But scrollto is async and I can't figure out how to wait with navigation until scrollTo is done. Is there some even I can listen too?
I'm on iOS 14 if there's any new solution for it there.