This commit is contained in:
Richard Lewis 2018-03-29 17:26:19 +01:00
parent 38c8bc7d9a
commit e21cc14e5b

View File

@ -68,6 +68,7 @@ export default class Stickerpicker extends React.Component {
} }
Widgets.removeStickerpickerWidgets(); Widgets.removeStickerpickerWidgets();
this._getStickerPickerWidget(); this._getStickerPickerWidget();
// Wrap this in a timeout in order to avoid the DOM node from being pulled from under its feet
setTimeout(() => this.stickersMenu.close()); setTimeout(() => this.stickersMenu.close());
} }