Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Devtools breaks react-resizable-panels cursor after remount

Offen
#526 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, react, typescript

Rechercherichtung

Beginne mit der StackBlitz-Reproduktion, insbesondere mit src/App.tsx und package.json, und reproduziere den Cursor-Fehler nach dem Ändern des Group-Schlüssels. Verfolge die im Issue beschriebene Devtools- und Solid-Eventbehandlung und ermittle anschließend, ob der Fix hier oder upstream vorgenommen werden sollte. Als erledigt gilt die Aufgabe, wenn nach einem Remount der Separator-Cursor weiterhin funktioniert, ohne die nativen Event-Eigenschaften für nicht verwandte Listener zu ändern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
500
Forks
100
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
4

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/devtools

Alle Issues in TanStack/devtools

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.