diff --git a/src/index.tsx b/src/index.tsx index c7f936f..f0d0745 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -683,11 +683,12 @@ export default class BottomSheetBehavior extends React.Component { if (!this.props.enabledImperativeSnapping) { return } + + this.isManuallySetValue.setValue(1) this.manuallySetValue.setValue( // @ts-ignore this.state.snapPoints[this.state.propsToNewIndices[index]] ) - this.isManuallySetValue.setValue(1) } private height: Animated.Value = new Value(0)