Skip to content

Commit

Permalink
Merge pull request #1054 from jdkahn/issue/954
Browse files Browse the repository at this point in the history
fix(Dialog): allow disableScroll. fix #954
  • Loading branch information
youluna authored Aug 28, 2019
2 parents 6a18a21 + 04f19b3 commit 0d6e4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialog/dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ export default class Dialog extends Component {
...closeConfig
} = this.mapcloseableToConfig(closeable);
const newOverlayProps = {
disableScroll: true,
...overlayProps,
prefix,
visible,
Expand All @@ -371,7 +372,6 @@ export default class Dialog extends Component {
align: useCSS ? false : align,
onRequestClose: onClose,
needAdjust: false,
disableScroll: true,
ref: this.getOverlayRef,
rtl,
};
Expand Down

0 comments on commit 0d6e4ce

Please sign in to comment.