Devtools breaks react-resizable-panels cursor after remount
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 499
- フォーク
- 100
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 4
説明
TanStack Devtools version
0.10.12
Framework/Library version
React 19.2.8
Describe the bug and the steps to reproduce it
With TanStack Devtools mounted, remounting a react-resizable-panels Group breaks its hover cursor.
Steps: render Devtools alongside a Group with two Panels and a Separator. Wait for Devtools to load, then change only the Group's key and hover the separator.
Confirmed locally in Electron using these minimal components:
- Initial mount: resize listener runs before Solid; cursor is
ew-resize. - After remount: Solid runs first; hover is detected, but cursor stays
auto.
Solid's delegated pointermove handler leaves event.currentTarget pointing to <html> instead of document. The resize library then skips cursor styling because currentTarget.defaultView is undefined.
Remounting is normal React behavior. Devtools should not change native event properties for unrelated listeners. Is this best addressed here or upstream in Solid?
Versions: @tanstack/react-devtools 0.10.12, solid-js 1.9.15, react-resizable-panels 4.12.3, React 19.2.8, Electron 44.1.0 (macOS).
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/vitejs-vite-eha3ugdo?file=src%2FApp.tsx,package.json&terminal=dev
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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
StackBlitz の再現から始め、特に src/App.tsx と package.json を確認し、Group key を変更した後のカーソルの不具合を再現します。Issue に記載されている Devtools と Solid のイベント処理を追跡し、修正がここで必要なのか upstream で必要なのかを判断します。remount 後もセパレーターのカーソルが機能し、無関係な listener のネイティブイベントプロパティを変更しない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- electron, react, typescript
- 領域
- desktop, devtools, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100