-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
For the swipe back function, i changed the pan handler as below to make the respond area bigger.
const RESPOND_POSITION_MAX_HORIZONTAL = Dimensions.get('window').width / 2;
However it still has a problem which is the swipe back gesture can only detect the swipe right gesture. When the user swipe with top-right, no any action will be taken.
Just tried to change
const POSITION_THRESHOLD = 1 / 3;
to
const POSITION_THRESHOLD = 1 / 2;
It seems better but sometimes still not working. And it is weird. Any advance for this purpose ? Thanks a lot !!
Metadata
Metadata
Assignees
Labels
No labels