mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
## Summary A small fix for #6700 Fixes pointer events handling in sidebar by moving `pointer-events-auto` from the main container to specific states (Connected and Floating), preventing unintended event blocking. ## Changes - **What**: Relocated `pointer-events-auto` class from the main sidebar container (`.side-tool-bar-container`) to conditional states: - Applied to `connected-sidebar` class when sidebar is connected (line 7) - Applied to floating `sidebar-item-group` elements when sidebar is floating (line 151) ## Screenshots ### Before: https://github.com/user-attachments/assets/f93badad-e248-49f0-9cde-99e364f4773d ### After: https://github.com/user-attachments/assets/16f8511c-cbc0-4e2d-bac1-33f932e979aa ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7905-fix-sidebar-Fix-sidebar-pointer-events-for-interaction-2e26d73d365081218361e79010c3347c) by [Unito](https://www.unito.io) --------- Co-authored-by: Alexander Brown <drjkl@comfy.org>