IjzerenHein / IjzerenHein/react-navigation-shared-element

Gestures don't work with scrollView

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
1.3k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

The title is quite explanatory: in fact, my problem is that the swipe (from top to bottom) used to close the open screen does not work if there is a scrollView inside the screen.
Does anyone know how to prevent scrollView from intercepting gestures that go from top to bottom?
The scrollView, in fact, should not intercept this type of swipe as there is nothing to scroll at the top, being the offsetY = 0

Thank you all.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a screen containing a ScrollView and the top-to-bottom swipe used to close the screen. Compare gesture handling when the ScrollView is at offsetY = 0, and verify that the closing swipe works without breaking scrolling; the issue names no files or tests to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.