Skip to content

Commit

Permalink
fix(Dialog): allow disableScroll. fix #954
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkahn committed Aug 27, 2019
1 parent 56e13c0 commit 04f19b3
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 04f19b3

Please sign in to comment.