Wrap the close menu trigger in a timeout

pull/21833/head
Richard Lewis 2018-02-26 17:47:52 +00:00
parent 5ca0fc3ab5
commit 8e7564b9a3
1 changed files with 3 additions and 1 deletions

View File

@ -231,7 +231,9 @@ export default class Stickerpicker extends React.Component {
Modal.createTrackedDialog('Integrations Manager', '', IntegrationsManager, { Modal.createTrackedDialog('Integrations Manager', '', IntegrationsManager, {
src: src, src: src,
}, "mx_IntegrationsManager"); }, "mx_IntegrationsManager");
this.stickersMenu.close();
// Wrap this in a timeout in order to avoid the DOM node from being pulled from under its feet
setTimeout(() => this.stickersMenu.close());
} }
render() { render() {