diff --git a/src/index.tsx b/src/index.tsx index 6d9f9db..9e8fb32 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -786,6 +786,8 @@ export default class BottomSheetBehavior extends React.Component { this.props.enabledInnerScrolling && { height: this.state.initSnap - this.state.heightOfHeader, overflow: 'hidden', + borderTopLeftRadius: borderRadius, + borderTopRightRadius: borderRadius, } } > @@ -815,8 +817,6 @@ export default class BottomSheetBehavior extends React.Component { style={{ width: '100%', transform: [{ translateY: this.Y as any }], - borderTopLeftRadius: borderRadius, - borderTopRightRadius: borderRadius, }} onLayout={this.handleLayoutContent} >