TanStack / TanStack/devtools

Incorrect interaction with html dialog

オープン
#369 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
499
フォーク
100
平均マージ
1日 17時間
マージ済み PR(30日)
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.

Image
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告された最小再現から始めます。

を TanStack Devtools と並べてレンダリングし、trigger と panel がどのようにマウントされ、重ね合わされているかを調査してください。開いている HTML ダイアログによって、両方の Devtools コントロールがインタラクションを受け取れなくなることがなくなれば完了です。issue では特定のファイルやテストが指定されていないため、この再現から関連するエントリーポイントを特定してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
html, react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。