Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
bugfix: Prefer user configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 13, 2020
1 parent cfb3a1f commit 521bf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BasicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ const BasicLayout: React.FC<BasicLayoutProps> = props => {
<div className={className}>
<Layout
style={{
...style,
minHeight: '100%',
...style,
}}
hasSider
>
Expand Down
2 changes: 1 addition & 1 deletion src/WrapContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class WrapContent extends React.Component<
<ResizeObserver onResize={this.resize}>
<ConfigProvider
getPopupContainer={() => {
if (!isChildrenLayout && this.ref) {
if (isChildrenLayout && this.ref) {
return this.ref;
}
return document.body;
Expand Down

0 comments on commit 521bf7c

Please sign in to comment.