Skip to content

Commit f17da59

Browse files
authored
Adjust touchability condition in BottomSheetBackdrop - some android devices never fully closed
gorhom#2342
1 parent b378f29 commit f17da59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const BottomSheetBackdropComponent = ({
115115

116116
//#region effects
117117
useAnimatedReaction(
118-
() => animatedIndex.value <= disappearsOnIndex,
118+
() => animatedIndex.value <= (disappearsOnIndex + 0.001),
119119
(shouldDisableTouchability, previous) => {
120120
if (shouldDisableTouchability === previous) {
121121
return;

0 commit comments

Comments
 (0)