Browse Source

Destroy popper on hide

master
Joe Attardi 4 years ago
parent
commit
2096c1532c
  1. 1
      src/index.ts

1
src/index.ts

@ -388,6 +388,7 @@ export class EmojiButton {
this.hideInProgress = true;
this.focusTrap.deactivate();
this.pickerVisible = false;
this.popper && this.popper.destroy();
if (this.overlay) {
document.body.removeChild(this.overlay);

Loading…
Cancel
Save