Skip to content

Commit 1ab91b8

Browse files
authored
fix: header snapTo tap fix on Android (#150)
1 parent 3fb9242 commit 1ab91b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ export default class BottomSheetBehavior extends React.Component<Props, State> {
383383
cond(
384384
or(
385385
eq(this.panMasterState, GestureState.END),
386-
eq(this.panMasterState, GestureState.CANCELLED)
386+
eq(this.panMasterState, GestureState.CANCELLED),
387+
eq(this.panMasterState, GestureState.FAILED)
387388
),
388389
[
389390
set(prevMasterDrag, 0),

0 commit comments

Comments
 (0)