Skip to content

Fix iOS onMove: apply ForEach.onMove directly - #209

Merged
adamtheturtle merged 1 commit into
mainfrom
fix/ios-onmove-dynamic-content
Aug 23, 2026
Merged

Fix iOS onMove: apply ForEach.onMove directly#209
adamtheturtle merged 1 commit into
mainfrom
fix/ios-onmove-dynamic-content

Conversation

@adamtheturtle

Copy link
Copy Markdown
Owner

Summary

  • `NativeMoveModifier` called `content.onMove`, but ViewModifier `Content` is not `DynamicViewContent`, so iOS Simulator builds failed.
  • Apply `.onMove(perform:)` on the flat `ForEach` when configured.

Test plan

  • `swiftlint --strict`
  • `swift test`
  • iOS Simulator `xcodebuild` build

Made with Cursor

ViewModifier Content is not DynamicViewContent, so content.onMove failed to compile on iOS.
@adamtheturtle
adamtheturtle merged commit b00fe6f into main Aug 23, 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.

1 participant