Skip to content

feat(scroll): add iOS 18+ onScrollGeometryChange and scrollPosition APIs - #74

Closed
elio-Wang wants to merge 1 commit into
AvdLee:mainfrom
elio-Wang:feature/ios18-scroll-apis
Closed

feat(scroll): add iOS 18+ onScrollGeometryChange and scrollPosition APIs#74
elio-Wang wants to merge 1 commit into
AvdLee:mainfrom
elio-Wang:feature/ios18-scroll-apis

Conversation

@elio-Wang

Copy link
Copy Markdown
Contributor

Summary

  • Adds onScrollGeometryChange and scrollPosition() coverage (iOS 18+)
  • Restructures Scroll Position Tracking to present the modern API first
  • Demotes the GeometryReader + PreferenceKey approach to a legacy/fallback note using <details>
  • Adds a new "iOS 18+ Scroll APIs" section with scrollPosition() without ID and onScrollGeometryChange detailed examples
  • Updates Summary Checklist with new recommended practices

Closes #68

Add onScrollGeometryChange and scrollPosition() coverage, restructure
Scroll Position Tracking to present the modern API first, and demote
the GeometryReader + PreferenceKey approach to a legacy fallback note.

Closes AvdLee#68
@elio-Wang elio-Wang closed this Jun 27, 2026
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.

Add iOS 18+ scroll APIs to scroll-patterns.md (onScrollGeometryChange, scrollPosition)

2 participants