Fix initial transitions

pull/106/head
Cory LaViska 2020-07-17 08:15:09 -04:00
rodzic 9ddc7aa797
commit 20b55f8ad7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ export default class Popover {
this.isVisible = true;
this.popover.hidden = false;
this.popover.clientWidth; // force reflow
this.popover.classList.add(this.options.visibleClass);
requestAnimationFrame(() => this.popover.classList.add(this.options.visibleClass));
if (this.popper) {
this.popper.destroy();