kopia lustrzana https://github.com/shoelace-style/shoelace
Fix initial transitions
rodzic
9ddc7aa797
commit
20b55f8ad7
|
@ -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();
|
||||
|
|
Ładowanie…
Reference in New Issue