Tools screen: Results panel shows a double vertical scrollbar on long results
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- frontend
调研方向
从 clients/web/src/components/groups/ToolResultPanel/ToolResultPanel.tsx 开始,这里 ResultScroll 包裹 ContentViewer,JSON 结果使用 Ace 代码视图。使用一个较长的 JSON 工具结果复现该问题,然后检查外层 ScrollArea 和 Ace 滚动容器。完成的标准是:Ace 渲染的长结果显示一个垂直滚动条,同时纯文本结果不受影响。
由索引模型根据 Issue 内容生成。
描述
Problem
When a tool result is long enough to scroll, the Results panel on the Tools screen shows two vertical scrollbars side by side. It only happens when the result renders in the Ace code view (e.g. a JSON result); plain text results are unaffected. One scrollbar belongs to the Ace editor and the other to the panel's outer ScrollArea. They scroll the same content at different levels, which looks broken and makes it unclear which one to drag.
Steps to reproduce
- Connect to a server and open the Tools tab.
- Call a tool whose result renders in the Ace code view (e.g. JSON) and is long enough to scroll, a few hundred lines.
- Look at the right edge of the Results panel: there are two stacked vertical scrollbars.
Seen in v2.8.0.
Expected
A single vertical scrollbar. Either the Ace editor fills the panel and owns scrolling, or the outer scroll area does and the viewer grows to its content height. Not both.
Pointers
clients/web/src/components/groups/ToolResultPanel/ToolResultPanel.tsx: ResultScroll (a ScrollArea) wraps ContentViewer, which renders JSON through Ace, and Ace has its own scroll container.
- 主要语言
- TypeScript
- 星标
- 11.1k
- 派生
- 1.6k
- 平均合并
- 5 小时 38 分钟
- 30 天内合并 PR
- 152
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/inspector 的其他 Issue
-
chore v2
难度 2/5 1-3 小时 新手友好度 78/100
modelcontextprotocol/inspector#2752 ·
维护者通常 1 天内回复
-
Release 2.12.0 step 1: bump version to 2.12.0 on v2/main可能已有人在做 @cliffhall 今天认领。 未关闭chore v2
modelcontextprotocol/inspector#2762 · 已指派 1 人 ·
维护者通常 1 天内回复
-
documentation v2
难度 3/5 1-2 天 新手友好度 54/100
modelcontextprotocol/inspector#2755 ·
维护者通常 1 天内回复
-
Static OAuth client loses its SEP-2352 issuer stamp across SDK saves and restarts可能已有人在做 @rajnish-verma-22172 今天认领。 未关闭bug v2
难度 3/5 1-2 天 新手友好度 72/100
modelcontextprotocol/inspector#2751 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement v2
难度 3/5 1-2 天 新手友好度 67/100
modelcontextprotocol/inspector#2750 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/inspector 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
paperclipai/paperclip#17151 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 83/100
AgoraIO-Extensions/agent-infra#3159 ·
维护者通常 1 天内回复
-
blocklist addition
难度 1/5 1 小时以内 新手友好度 66/100
MetaMask/eth-phishing-detect#304596 ·
维护者通常 1 天内回复
-
friction
难度 2/5 1-3 小时 新手友好度 70/100
kentcdodds/kody#4142 ·
-
[Bug] Statistics | Task statistics are always empty on MikroORM with MySQL or SQLite可能已有人在做 @NdekoCode 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
ever-co/ever-gauzy#11214 ·
维护者通常 1 天内回复