Skip to content

Commit d74582c

Browse files
add default ReactModalPortal to portalClassName
1 parent 213a3fd commit d74582c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modal/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class Modal extends React.Component {
360360
isOpen={this.props.isOpen}
361361
onRequestClose={this.closeModal}
362362
style={customStyles}
363-
portalClassName={classNames(this.props.portalClassName)}
363+
portalClassName={classNames('ReactModalPortal', this.props.portalClassName)}
364364
>
365365
{this.getModal()}
366366
</ReactModal>

0 commit comments

Comments
 (0)