mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
Fix modal backdrop not closing on app.modal.close()
This commit is contained in:
committed by
Franz Liedke
parent
6b178b8204
commit
169b0fbd9b
@@ -16,6 +16,12 @@ export default class ModalManager extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
onupdate(vnode) {
|
||||
if (this.$('Modal') && !this.attrs.state.modal) {
|
||||
this.animateHide();
|
||||
}
|
||||
}
|
||||
|
||||
oncreate(vnode) {
|
||||
super.oncreate(vnode);
|
||||
|
||||
|
Reference in New Issue
Block a user