Post

Replies

Boosts

Views

Activity

ScrollViews Sync SwiftUI
Hi, I've got two ScrollViews I need to sync vertical scrolls of these views. When I scroll one the other one should automatically be adjusted to the new scroll position of first one. Do you have any idea how to implement this behavior ? I googled I guess the only way to navigate(to scroll to) within scrollView it's through ScrollViewReader _proxy.scrollTo(ID_element_in_ScrollView, anchor: .center)
1
0
2.2k
Feb ’22
ScrollViews Sync SwiftUI
Hi, I've got two ScrollViews I need to sync vertical scrolls of these views. When I scroll one the other one should automatically be adjusted to the new scroll position of first one. Do you have any idea how to implement this behavior ? I googled I guess the only way to navigate(to scroll to) within scrollView it's through ScrollViewReader _proxy.scrollTo(ID_element_in_ScrollView, anchor: .center)
Replies
1
Boosts
0
Views
2.2k
Activity
Feb ’22