software-mansion / software-mansion/react-native-screens

Presentation `formSheet` causes button to not work

Open
#3,660 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

platform:ios repro-provided
Dominant language
TypeScript
Stars
3.7k
Forks
714
Avg merge
2d 23h
Merged PRs (30d)
71

Description

Description

Button does not work when all of these are conditions are met:

  • Screen presented as formSheet
  • Option headerTransparent: true
  • ScrollView has contentInsetAdjustmentBehavior="automatic"

When you remove one of the conditions, it just works normally.

https://github.com/user-attachments/assets/d5212708-c34a-442e-ac11-626a4c0cbd19

Happens on both expo 54 and 55. Tried on real device as well.

Might be useful to include the hierarchy:
Image

Steps to reproduce

The snack link reproduces it

Snack or a link to a repository

https://snack.expo.dev/@orkhan.alikhanov/formsheet-bug

Screens version
  • 4.22.0
  • 4.23.0
React Native version

0.83.1

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Both simulator and real device

Device model

No response

Acknowledgements

Yes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Expo Snack and reproduce the issue on iOS using React Native 0.83.1, Screens 4.22.0 or 4.23.0, and Fabric. Keep the formSheet presentation, headerTransparent, and automatic ScrollView content inset conditions together; done means the button responds normally under that combination on both simulator and device.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.