Skip to content

[iOS]: presentation: 'modal' in native-stack locks navigation after navigating to another modal screen too fast #1299

@vzhovnitsky

Description

@vzhovnitsky

Description

After we close modal screen with gesture and try to open another modal fast enough navigation within the stack locks and does not seem to work.

Screenshots

ios-modal-bug.mp4

Steps To Reproduce

Open screen with presentation: 'modal', then close it with gesture, then try to open another screen with presentation: 'modal'

Expected behavior

Open new modal as intended

Actual behavior

Locks navigation within stack

Reproduction

https://snack.expo.dev/@vzhovnitsky/cranky-apples

Platform

  • iOS
  • Android
  • Web
  • Windows
  • tvOS

Workflow

  • Managed workflow
  • Bare workflow

Package versions

package version
@react-navigation/native 6.0.8
@react-navigation/native-stack 6.4.0
react-native 0.66.4
expo 44.0.0

Metadata

Metadata

Assignees

Labels

Platform: iOSThis issue is specific to iOSRepro providedA reproduction with a snack or repo is provided

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions