mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-09 16:23:14 +00:00
Wrap the close menu trigger in a timeout
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user