[BP2] Fix cursor manipulation in Three.js handlers #36

Closed
opened 2026-06-07 01:57:55 +00:00 by Mark · 0 comments
Owner

Cursor changes bypass React reconciliation.

  • AssemblyRenderer.tsx:40,43 - document.body.style.cursor = "pointer"

Impact: Cursor can get stuck if component unmounts mid-hover. No cleanup on unmount.

Fix: Use useState + useEffect pattern for cursor styling instead of direct DOM manipulation.

Cursor changes bypass React reconciliation. - AssemblyRenderer.tsx:40,43 - document.body.style.cursor = "pointer" **Impact:** Cursor can get stuck if component unmounts mid-hover. No cleanup on unmount. **Fix:** Use useState + useEffect pattern for cursor styling instead of direct DOM manipulation.
Mark 2026-06-07 02:01:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/parametric-furniture-cad#36
No description provided.