SimultaneouslyScrollView icon indicating copy to clipboard operation
SimultaneouslyScrollView copied to clipboard

Use content offset observation instead of delegate methods to update content offsets

Open ja-caperwhite opened this issue 6 months ago • 0 comments

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

ja-caperwhite avatar Jul 29 '25 16:07 ja-caperwhite