Add modal root to compose form clickable area
This commit is contained in:
parent
0ec8e39051
commit
84c769c5f6
|
@ -110,6 +110,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||||
this.getClickableArea(),
|
this.getClickableArea(),
|
||||||
document.querySelector('.privacy-dropdown__dropdown'),
|
document.querySelector('.privacy-dropdown__dropdown'),
|
||||||
document.querySelector('.emoji-picker-dropdown__menu'),
|
document.querySelector('.emoji-picker-dropdown__menu'),
|
||||||
|
document.querySelector('.modal-root__overlay'),
|
||||||
].some(element => element && element.contains(e.target));
|
].some(element => element && element.contains(e.target));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue