Skip to content

fix(ios): initialize bottom accessory Fabric props - #586

Open
thiagobrez wants to merge 1 commit into
mainfrom
codex/duo-accessory-default-props
Open

thiagobrez wants to merge 1 commit into
mainfrom
codex/duo-accessory-default-props

Conversation

@thiagobrez

@thiagobrez thiagobrez commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

PR Description

Opening the Bottom Accessory View example aborts in Fabric because RCTBottomAccessoryComponentView creates default props without assigning them to _props. Initialize _props before mounting the accessory.

How to test?

  • Build and run the example with Xcode 27.1 beta / iOS 27.1 on iPhone Duo.
  • Open Bottom Accessory View. Verify it mounts and displays its placement and dimensions.
  • Switch among Article, Albums, and Contacts; the accessory remains mounted.

Verified with agent-device 0.20.10. Xcode build, yarn lint, yarn typecheck, and yarn test pass.

Screenshots

Before After
01-accessory-before-crash.mp4
01-accessory-after-mount.mp4

The separate content-overlap issue remains visible in these recordings and is outside this crash fix.

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