Skip to content

Commit

Permalink
fix: borderRadius
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Nov 26, 2019
1 parent aaadc26 commit 318917f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,8 @@ export default class BottomSheetBehavior extends React.Component<Props, State> {
this.props.enabledInnerScrolling && {
height: this.state.initSnap - this.state.heightOfHeader,
overflow: 'hidden',
borderTopLeftRadius: borderRadius,
borderTopRightRadius: borderRadius,
}
}
>
Expand Down Expand Up @@ -815,8 +817,6 @@ export default class BottomSheetBehavior extends React.Component<Props, State> {
style={{
width: '100%',
transform: [{ translateY: this.Y as any }],
borderTopLeftRadius: borderRadius,
borderTopRightRadius: borderRadius,
}}
onLayout={this.handleLayoutContent}
>
Expand Down

0 comments on commit 318917f

Please sign in to comment.