When using an ScrollView { ... } in SwiftUI 2.0 in macOS Big Sur (or prior) the scroll runs fine but it is slower than NSScrollView in Cocoa. The same behaviour occurs in Cocoa when isResponsiveScrolling is set to false:
When using a List { ... } in SwiftUI the scroll is responsive.
More info: https://developer.apple.com/library/archive/releasenotes/AppKit/RN-AppKitOlderNotes/#10_9Scrolling
Is there any way to get the ScrollView in SwiftUI with responsive behavior?
Xcode 12 beta 4 | macOS Big Sur beta 4 | SwiftUI 2.0
Code Block override class var isCompatibleWithResponsiveScrolling: Bool { return false }
When using a List { ... } in SwiftUI the scroll is responsive.
More info: https://developer.apple.com/library/archive/releasenotes/AppKit/RN-AppKitOlderNotes/#10_9Scrolling
Is there any way to get the ScrollView in SwiftUI with responsive behavior?
Xcode 12 beta 4 | macOS Big Sur beta 4 | SwiftUI 2.0