Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 6f681c5

Browse files
committed
fix: add flagging beginning of the gesture in ScrollPager
1 parent 302a11e commit 6f681c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ScrollPager.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export default class ScrollPager<T extends Route> extends React.Component<
146146
} = this.props;
147147

148148
const handleSwipeStart = () => {
149+
this.wasTouched = false;
149150
onSwipeStart?.();
150151
this.interactionHandle = InteractionManager.createInteractionHandle();
151152
};

0 commit comments

Comments
 (0)