SimultaneouslyScrollView
SimultaneouslyScrollView copied to clipboard
Use content offset observation instead of delegate methods to update content offsets
Hi!
I've struggled a bit with SwiftUI adjusting scroll view content offsets when the keyboard appears. Those don't trigger the didScroll delegate methods.
I modified the solution to use KVO observation of the content offset directly. For my use case it seems to works fine so far.
Have a great day!
Julian