Skip to content

chore(FabricExample, FormSheet v5): Add SFT for stacking FormSheets#4016

Draft
t0maboro wants to merge 1 commit into
mainfrom
@t0maboro/sft-nesting-formsheets
Draft

chore(FabricExample, FormSheet v5): Add SFT for stacking FormSheets#4016
t0maboro wants to merge 1 commit into
mainfrom
@t0maboro/sft-nesting-formsheets

Conversation

@t0maboro
Copy link
Copy Markdown
Contributor

@t0maboro t0maboro commented May 12, 2026

Description

SFT verifying that we're able to present one FormSheet on top of another.

Note: I'm not sure whether we should hide a sheet behind the latest presented, or not. For me, its valid that all stacked sheets remain attached, but I'm open for suggestions here.

Closes https://github.com/software-mansion/react-native-screens-labs/issues/1280

Changes

  • Added SFT for stacking FormSheets

Before & after - visual documentation

ios26.mov

@t0maboro t0maboro changed the base branch from main to @t0maboro/formsheet-modal-v5 May 12, 2026 09:02
@t0maboro t0maboro marked this pull request as ready for review May 12, 2026 09:11
@t0maboro t0maboro force-pushed the @t0maboro/formsheet-modal-v5 branch from 9eebb45 to 7efa595 Compare May 14, 2026 09:39
Base automatically changed from @t0maboro/formsheet-modal-v5 to main May 14, 2026 10:30
@t0maboro t0maboro force-pushed the @t0maboro/sft-nesting-formsheets branch from 68dd2f7 to a084786 Compare May 14, 2026 10:53
@t0maboro t0maboro force-pushed the @t0maboro/sft-nesting-formsheets branch from a084786 to 6d9ad79 Compare May 15, 2026 08:15
Copy link
Copy Markdown
Contributor

@kligarski kligarski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-05-18.at.17.25.31.mov

What about such situation? Do we need to handle it somehow? Remember that the user can have formsheets as siblings in react tree (the behavior is similar).

Copy link
Copy Markdown
Collaborator

@LKuchno LKuchno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scenario and screen look good, but this is just the base scenario.
As @kligarski noticed - and as discussed during meeting - we should handle dismissing underlying formSheets and cover this behavior in this SFT.

@t0maboro t0maboro marked this pull request as draft May 25, 2026 12:02
@t0maboro
Copy link
Copy Markdown
Contributor Author

converting to draft, as this PR needs fixing bugs in the native component's implementation

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.

3 participants