Add listener to close stickerpicker.
This commit is contained in:
parent
73c8ef50d1
commit
b64736aa44
3 changed files with 5 additions and 1 deletions
|
@ -104,6 +104,8 @@ export default class Stickerpicker extends React.Component {
|
|||
if (payload.action === "user_widget_updated") {
|
||||
this._getStickerPickerWidget();
|
||||
return;
|
||||
} else if (payload.action === "stickerpicker_close") {
|
||||
this.stickersMenu.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue