State transition in SwiftUI by scrolling in onAppear can be lost
If you use the onAppear
method to scroll to a SwiftUI view with the help of a ScrollViewProxy
, this can lead to the loss of the state transition in the view when using published values of an ObservableObject
.
SwiftUI viewAligned scrollTargetBehavior for ScrollView where scrollTargetLayout subviews are irregular in size
I’m trying to use SwiftUI’s viewAligned scrollTargetBehavior for a ScrollView where scrollTargetLayout subviews are irregular in size.
SwiftUI viewAligned scrollTargetBehavior for ScrollView where scrollTargetLayout subviews are irregular in size
I’m trying to use SwiftUI’s viewAligned scrollTargetBehavior for a ScrollView where scrollTargetLayout subviews are irregular in size.
ScrollView Keep offset when prepending data on top
i wanted to migrate my simple chat app to explore swiftUI,
Previously, I’m using collectionView for my chat view.