mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 16:10:01 +00:00
'getApplicationNode' doesn't appear to be required as the modal is already a dialog
This commit is contained in:
@@ -32,17 +32,12 @@ export default class Modal extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
getApplicationNode() {
|
||||
return document.getElementById('app');
|
||||
}
|
||||
|
||||
render() {
|
||||
if(this.props.isOpen) {
|
||||
return <AriaModal
|
||||
titleText={this.props.title}
|
||||
underlayClickExits={this.props.underlayClickExits}
|
||||
underlayProps={this.props.underlayProps}
|
||||
getApplicationNode={this.getApplicationNode}
|
||||
data-wd-key={this.props["data-wd-key"]}
|
||||
verticallyCenter={true}
|
||||
onExit={this.onClose}
|
||||
|
||||
Reference in New Issue
Block a user