hermes - 💡(How to fix) Fix [Bug] 移动端 /chat 存在不可隐藏的右侧空白占位栏

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

描述 在 375px 及以下视口(iPhone 等移动设备)访问 /chat 时,页面右侧存在一段无法隐藏的空白占位栏,挤压聊天内容宽度。

复现步骤

  1. 使用 iPhone(375px 视口)访问 /chat
  2. 即便处于 narrow 模式(侧边栏已隐藏),右侧仍有空白占位

根因分析 中 容器的类名包含 ,条件渲染 在 state 同步不一致时失效;且 CSS 层面在 断点外没有 fallback, 仍占用横向空间。

修复方案 增加 兜底,确保断点以下绝对不参与 layout:

环境

  • 浏览器:Safari iOS / Chrome iOS
  • 视口:375px - 1024px 之间均可复现

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING