Skip to content

Conversation

@kkafar
Copy link
Member

@kkafar kkafar commented Oct 16, 2025

Description

Aims to fix #3302

Changes

Test code and steps to reproduce

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

@kkafar kkafar marked this pull request as draft October 16, 2025 14:44
@kmichalikk kmichalikk closed this Nov 26, 2025
kmichalikk added a commit that referenced this pull request Nov 27, 2025
…re requirements (#3420)

Fixes
#3302

Supersedes
#3304

## Description

This PR fixes the failure requirements for content pop gesture. The
changes introduced in #3265 fixed the immediate dismissing of screen
when scrolling on horizontal ScrollView, but at the same time introduced
a regression for vertical scrolling. Here, we apply the failure
requirement only if the ScrollView has horizontal scrolling.

## Changes

Updated `RNSScreenStack`'s
`gestureRecognizer:shouldRequireFailureOf:otherGestureRecognizer` to
check if ScrollView has horizontal scrolling.

### After changes


https://github.com/user-attachments/assets/de8bfdaa-aa9b-4c25-917e-2d631bc590df

## Testing
Use `Test1072`. Make sure to check custom animations with `animation`
and `animationMatchesGesture`.
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.

[v4.17.x] fullScreenGestureEnabled conflict with ScrollView

3 participants