mirror of
https://github.com/langgenius/dify.git
synced 2026-02-21 11:02:01 -05: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.