kopia lustrzana https://github.com/shoelace-style/shoelace
Fix initial dialog transition in Firefox
rodzic
20b55f8ad7
commit
7f89b6ab09
|
@ -104,7 +104,7 @@ export class Dialog {
|
|||
|
||||
this.dialog.hidden = false;
|
||||
this.host.clientWidth; // force a reflow
|
||||
this.open = true;
|
||||
requestAnimationFrame(() => (this.open = true));
|
||||
|
||||
lockBodyScrolling(this.host);
|
||||
document.addEventListener('focusin', this.handleDocumentFocusIn);
|
||||
|
|
Ładowanie…
Reference in New Issue