diff --git a/miniapp/assets/app.js b/miniapp/assets/app.js index 715f927..ed2ae03 100644 --- a/miniapp/assets/app.js +++ b/miniapp/assets/app.js @@ -645,7 +645,7 @@ function hideSplash() { const splash = document.getElementById("splash"); if (!splash) return; const elapsed = Date.now() - _splashStart; - const minShow = 2500; // минимум показа, мс — 2.5 сек чтобы успеть рассмотреть лого + const minShow = 1200; // минимум показа, мс — 1.2 сек хватает чтобы рассмотреть лого и не блокировать UI const wait = Math.max(0, minShow - elapsed); setTimeout(() => { splash.classList.add("hide"); diff --git a/miniapp/assets/styles.css b/miniapp/assets/styles.css index 5505ec7..b899f50 100644 --- a/miniapp/assets/styles.css +++ b/miniapp/assets/styles.css @@ -277,6 +277,8 @@ button { font: inherit; cursor: pointer; border: none; background: none; color: to { opacity: 1; } } .loader.splash.hide { + /* Мгновенно отключаем взаимодействие, чтобы splash не блокировал клики во время fade */ + pointer-events: none !important; animation: splashFadeOut 0.4s ease-out forwards; } @keyframes splashFadeOut { diff --git a/miniapp/index.html b/miniapp/index.html index 92633a9..39d10db 100644 --- a/miniapp/index.html +++ b/miniapp/index.html @@ -12,8 +12,8 @@ - - + + @@ -34,13 +34,13 @@
- - - - - - - - + + + + + + + +