Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use onScrollGeometryChange(for:of:action:) where applicable on ScrollViews #870

Open
dfeinzimer opened this issue Sep 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dfeinzimer
Copy link
Collaborator

iOS 18 adds onScrollGeometryChange(for:of:action:)

From What's new in SwiftUI - WWDC '24:

There are a bunch of new APIs to give you fine grained control of your scroll views. You can now have deeper level of integration with the state of a ScrollView with .onScrollGeometryChange, which lets you performantly react to changes in things like content offsets, content size and more.

Here are the current uses of ScrollView in the Toolkit.

@dfeinzimer dfeinzimer added the enhancement New feature or request label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant