Skip to content

Commit d15075b

Browse files
committed
Fix evaluation of height
1 parent 914e2ee commit d15075b

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
@@ -438,7 +438,7 @@ export default class BottomSheetBehavior extends Component {
438438
</PanGestureHandler>
439439
<View
440440
style={{
441-
height: this.props.snapPoints[0] - this.state.heightOfHeader,
441+
height: this.state.initSnap - this.state.heightOfHeader,
442442
overflow: 'hidden'
443443
}}
444444
>

0 commit comments

Comments
 (0)