Skip to content

Commit 318917f

Browse files
committed
fix: borderRadius
1 parent aaadc26 commit 318917f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,8 @@ export default class BottomSheetBehavior extends React.Component<Props, State> {
786786
this.props.enabledInnerScrolling && {
787787
height: this.state.initSnap - this.state.heightOfHeader,
788788
overflow: 'hidden',
789+
borderTopLeftRadius: borderRadius,
790+
borderTopRightRadius: borderRadius,
789791
}
790792
}
791793
>
@@ -815,8 +817,6 @@ export default class BottomSheetBehavior extends React.Component<Props, State> {
815817
style={{
816818
width: '100%',
817819
transform: [{ translateY: this.Y as any }],
818-
borderTopLeftRadius: borderRadius,
819-
borderTopRightRadius: borderRadius,
820820
}}
821821
onLayout={this.handleLayoutContent}
822822
>

0 commit comments

Comments
 (0)