Post

Replies

Boosts

Views

Activity

Comment on Scroll to Top gesture doesn't work when pressed in Status Bar.
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Comment on Scroll to Top gesture doesn't work when pressed in Status Bar.
@cdignam No I still didn't find any solution
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’25
Comment on Scroll to Top gesture doesn't work when pressed in Status Bar.
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Scroll to Top gesture doesn't work when pressed in Status Bar.
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Scroll to Top gesture doesn't work when pressed in Status Bar.
Hello. Its the iOS default Gesture. https://developer.apple.com/documentation/uikit/uiscrollview/1619421-scrollstotop
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24