We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce10764 commit 9ddeb8aCopy full SHA for 9ddeb8a
1 file changed
src/Modal.js
@@ -125,6 +125,8 @@ class Modal extends React.Component {
125
const classes = document.body.className;
126
this._element = document.createElement('div');
127
this._element.setAttribute('tabindex', '-1');
128
+ this._element.style.position = 'relative';
129
+ this._element.style.zIndex = '1000';
130
this.originalBodyPadding = getOriginalBodyPadding();
131
132
conditionallyUpdateScrollbar();
0 commit comments