mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Added cleanup of emoji picker
no issue - housekeeping when the callout card component is destroyed
This commit is contained in:
parent
d1e1c8b11c
commit
9655b76610
@ -95,6 +95,11 @@ export default class KoenigCardCalloutComponent extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
willDestroy() {
|
||||
super.willDestroy(...arguments);
|
||||
this.picker.destroyPicker();
|
||||
}
|
||||
|
||||
// required for snippet rects to be calculated - editor reaches in to component,
|
||||
// expecting a non-Glimmer component with a .element property
|
||||
@action
|
||||
|
Loading…
Reference in New Issue
Block a user