Skip to content

Sheet / detent buggy jumping behavior on iOS #1722

@ferrannp

Description

@ferrannp

Description

Not sure if you seen my answer here #1649 (comment), but trying the new formSheet with detent has a buggy behavior. You can see the content from the bottom when you slide. I think this bug is in modal too but it is not so visible. See the video:

bottomJump.mov

By the way, are you planning to implement this also on Android? Would love testing it or even helping. I think a native sheet really makes a difference.

Steps to reproduce

In your Example app, go to StackPresentation.tsx, and change this example:

    <Stack.Screen
      name="FormSheet"
      component={FormScreen}
      options={{ stackPresentation: 'formSheet', sheetAllowedDetents: 'all' }}
    />

Can be any combo of sheetAllowedDetents.

Snack or a link to a repository

https://github.com/software-mansion/react-native-screens/blob/main/Example/src/screens/StackPresentation.tsx#L187

Screens version

Latest master of your Example

React Native version

Latest master of your Example

Platforms

iOS

JavaScript runtime

None

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingMissing reproThis issue need minimum repro scenarioPlatform: iOSThis issue is specific to iOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions