Skip to content

Add Slot swiftStyle, extend presented sheet content under the home indicator - #1002

Open
natew wants to merge 3 commits into
mainfrom
tm/ios-form-slot-swiftstyle-pr
Open

natew wants to merge 3 commits into
mainfrom
tm/ios-form-slot-swiftstyle-pr

Conversation

@natew

@natew natew commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

One.iOS.Slot takes swiftStyle and onNativeSDKEvent, so listRowInsets, listRowBackground and the other row modifiers reach a hosted React Native row. Presented Sheet content ignores the bottom container safe area, so a full-height Form or List reaches the screen bottom while SwiftUI scroll views keep their own inset. Form already had swiftStyle on main.

Changes are in codegen/emitContainers.ts, codegen/emitSheet.ts, the hand-written Slot view, and the regenerated specs, types and Sheet file. Proof fixture: tests/native-features/fixtures/one-native-form-slot-style.tsx.

Validation: iOS simulator proof with that fixture. Form top contentMargins 0 and listSectionSpacing 40 apply, Slot listRowInsets leading 64 and background shift the hosted row, and a large-detent sheet bottom bar reaches the screen bottom edge. bun run generate reproduces the committed generated files. No Android, no automated tests, no before screenshot of the sheet baseline.

natew added 2 commits October 21, 2026 08:27
…dicator

Slot takes swiftStyle and onNativeSDKEvent so listRowInsets and listRowBackground reach a hosted row. Sheet content ignores the bottom container safe area. Form swiftStyle was already on main.

Validation: iOS simulator proof in tests/native-features fixture one-native-form-slot-style: Form top contentMargins 0 and listSectionSpacing 40 apply, Slot listRowInsets leading 64 and background shift the hosted row, large-detent sheet bottom bar reaches the screen bottom edge. bun run generate reproduces the committed generated files.
Team-Machine-Session: m50986
Validation: vitest tests/nativeDocs.test.ts passes (379 tests).
Team-Machine-Session: m50986
Validation: iOS simulator build of this source; List and ScrollView in a large sheet at max scroll end above the home indicator, Form unchanged.
Team-Machine-Session: m50986

This branch has not been deployed

No deployments
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