Incorrect interaction with html dialog
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 499
- 派生
- 100
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 4
描述
TanStack Devtools version
v0.9.9
Framework/Library version
React 19.2.3
Describe the bug and the steps to reproduce it
Devtools does not interact well with Html's dialog element.
A dialog anywhere in the DOM will take precedence in the element stack, regardless of z-index. This means that when a dialog is open, both the trigger and panel of the devtools will become inaccessible.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Render a <dialog open>Something</dialog> in a page with devtools and devtools can no longer be interacted with.
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从报告的最小复现开始:将
与 TanStack Devtools 一起渲染,并检查 trigger 和 panel 是如何挂载及分层的。当一个处于打开状态的 HTML dialog 不再阻止两个 Devtools 控件接收交互时,即可完成;该 issue 未指定具体文件或测试,因此请根据此复现定位相关的入口点。由索引模型根据 Issue 内容生成。
评估
- 技术栈
- html, react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100