Skip to content

Commit 8582ca4

Browse files
committed
fix #240
1 parent b2de3db commit 8582ca4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/toolbar/ToolBar.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ class ToolBar extends React.Component{
8585
this.setState({
8686
validateState:null,
8787
shakeEditor:false
88+
}, () => {
89+
document.querySelector("."+"modal-backdrop").click();
8890
});
8991
//reset form
9092
this.refs.form.reset();
91-
9293
}
9394
}
9495

0 commit comments

Comments
 (0)