mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 08:30:06 +00:00
When clicking on a textarea DOM widget, it was triggering a selection update even if the node was already selected. This caused the toolbar to unnecessarily re-animate. The fix checks if the node is already selected before calling selectNode, preventing redundant selection updates while maintaining proper selection behavior for unselected nodes. Fixes #4953 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>