fix(chat): simplify Xiaomi Facebook keyboard lift

This commit is contained in:
2026-07-01 16:13:46 +08:00
parent 854a7498b7
commit 94fa3e9b7a
11 changed files with 199 additions and 438 deletions
@@ -1,8 +1,7 @@
/* ChatInputBar 输入栏容器样式(与 Dart chat_input_bar.dart 对齐) */
/* 键盘适配:
* --app-viewport-height 会让聊天容器优先贴合 visualViewport
* --chat-input-lift 是 Android 应用内浏览器的兜底抬升值。
* --chat-input-lift 是小米 Android + Facebook IAB 的专用抬升值
* env(safe-area-inset-bottom) 处理小米全面屏手势条 / iPhone home indicator。
* 正常浏览器中 --chat-input-lift 为 0,因此无视觉副作用。 */
.bar {