mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
## Summary Forward wheel events to the canvas unless a wheel-capturing element is focused, and ensure the Load3D scene becomes focusable on pointer interaction so its wheel zoom/pan works after the user clicks into it. ## Changes - **What**: gate wheel forwarding on focused capture elements; focus the Load3D scene container on pointerdown to opt into wheel capture. - **Dependencies**: none ## Review Focus - Validate wheel forwarding behavior across focusable inputs vs. non-focusable capture zones. - Confirm Load3D zoom/pan only captures wheel after a user click (canvas pan should still work when merely hovering). ## Screenshots (if applicable) N/A --------- Co-authored-by: Christian Byrne <cbyrne@comfy.org> Co-authored-by: Subagent 5 <subagent@example.com> Co-authored-by: Amp <amp@ampcode.com>