We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 218e006 commit 07bc695Copy full SHA for 07bc695
src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx
@@ -103,14 +103,14 @@ const BottomSheetBackdropComponent = ({
103
104
//#region effects
105
useAnimatedReaction(
106
- () => animatedIndex.value <= disappearsOnIndex,
+ () => !(animatedIndex.value >= appearsOnIndex),
107
(shouldDisableTouchability, previous) => {
108
if (shouldDisableTouchability === previous) {
109
return;
110
}
111
runOnJS(handleContainerTouchability)(shouldDisableTouchability);
112
},
113
- [disappearsOnIndex]
+ [appearsOnIndex]
114
);
115
//#endregion
116
0 commit comments