Skip to content

Commit 914e2ee

Browse files
committed
Enhance support for string values
1 parent 8db56ad commit 914e2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ export default class BottomSheetBehavior extends Component {
355355
height
356356
}
357357
}
358-
}) => this.state.heightOfContent.setValue(height - this.props.snapPoints[0]);
358+
}) => this.state.heightOfContent.setValue(height - this.state.initSnap);
359359

360360

361361
static renumber = str => Number(str.split('%')[0]) * screenHeight / 100

0 commit comments

Comments
 (0)