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