nakama/💯_БЛОКИРОВКА_КЛИКОВ.txt

48 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

╔═══════════════════════════════════════════════════════════════════════╗
║ ║
║ 💯 БЛОКИРОВКА КЛИКОВ - ИСПРАВЛЕНО 💯 ║
║ ║
╚═══════════════════════════════════════════════════════════════════════╝
ПРОБЛЕМА:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Клики проходили СКВОЗЬ модалку к элементам под ней
РЕШЕНИЕ:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Добавлено:
pointer-events: all; ← Блокирует клики
touch-action: none; ← Блокирует touch
z-index: 9999; ← Поверх всего
ОБНОВИТЬ:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
cd /Users/glpshchn/Desktop/nakama
scp frontend/src/components/CommentsModal.css root@ваш_IP:/var/www/nakama/frontend/src/components/
scp frontend/src/components/PostMenu.css root@ваш_IP:/var/www/nakama/frontend/src/components/
ssh root@ваш_IP
cd /var/www/nakama/frontend && npm run build
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ ТЕПЕРЬ:
✓ Клики НЕ проходят сквозь модалку
✓ Кнопки работают где они видны
✓ Поле ввода АКТИВНО
✓ "Удалить пост" РАБОТАЕТ
30 секунд