UI: кнопка «Меню» надёжно открывается на мобильных (onClick вместо pointerup + touch-action)

Открытие бокового меню переведено на нативный onClick: на тач-устройствах
pointerup часто не приходит из-за pointercancel, из-за чего меню не открывалось.
Долгое удержание (10с → админка) оставлено на таймере и подавляет этот клик.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 17:48:08 +03:00
co-authored by Claude Opus 4.8
parent cec3aa25a6
commit 0745d07887
2 changed files with 11 additions and 4 deletions
+1
View File
@@ -56,6 +56,7 @@
background: none;
border: none;
font-size: 12px;
touch-action: manipulation; /* без задержки/отмены тапа на мобильных */
}
.bottom-bar .slot .name { color: var(--text); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-bar .spacer { width: var(--fab-width); flex: 0 0 var(--fab-width); }