kopia lustrzana https://github.com/wagtail/wagtail
Destroy tippy on DropdownController disconnect
rodzic
8845a8091e
commit
3f4566dfa3
|
@ -305,4 +305,8 @@ export class DropdownController extends Controller<HTMLElement> {
|
|||
? (toggleParent.parentElement as HTMLElement)
|
||||
: toggleParent;
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
this.tippy?.destroy();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue