This commit is contained in:
Vendored
+6
-1
@@ -135,7 +135,12 @@
|
||||
setStatusText('Vorbereitung abgeschlossen.');
|
||||
actionStatus?.classList.add('is-leaving');
|
||||
enter.hidden = false;
|
||||
globalThis.requestAnimationFrame(() => enter.classList.add('is-visible'));
|
||||
const showEnter = () => enter.classList.add('is-visible');
|
||||
if (typeof globalThis.requestAnimationFrame === 'function') {
|
||||
globalThis.requestAnimationFrame(showEnter);
|
||||
} else {
|
||||
globalThis.setTimeout(showEnter, 0);
|
||||
}
|
||||
globalThis.setTimeout(() => {
|
||||
if (actionStatus) actionStatus.hidden = true;
|
||||
}, 220);
|
||||
|
||||
Reference in New Issue
Block a user