Hello. Its the iOS default Gesture. https://developer.apple.com/documentation/uikit/uiscrollview/1619421-scrollstotop
Post
Replies
Boosts
Views
Activity
Hello @DTS Engineer. I have added the most basic code to regenerate the issue in the comment bellow.
Here If we use ListView() Directly the scrolls to top gesture works.
But if we use it inside a UIViewControllerRepresentable It doesn't work.
Hello @DTS Engineer , I have added the basic most code where similar issue is regenerated in the comment.
Here if we use ListView Directly the Scrolls to top works perfectly. But when we try to use it wrapping in** UIViewControllerRepresentable** Scrolls to top doesn't work. So it seems using UIViewControllerRepresentable creating this issue. Similar issue is created if we use UIKit Views inside UIViewControllerRepresentable.