Skip to content

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

Open
ja-caperwhite wants to merge 1 commit intostonko1994:mainfrom
ja-caperwhite:main
Open

Use content offset observation instead of delegate methods to update content offsets#22
ja-caperwhite wants to merge 1 commit intostonko1994:mainfrom
ja-caperwhite:main

Conversation

@ja-caperwhite
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant