mirror of
https://github.com/langgenius/dify.git
synced 2026-03-01 05:48:40 +08:00
Replace useClickAway + fixed positioning in file tree context menu with a floating-ui based hook that provides collision detection (flip/shift), ARIA role="menu", Escape/outside-click dismiss, and scroll dismiss via passive capture listener with ref-stabilized callback.