dify/web/app/components/base/portal-to-follow-elem
yyh bacc5c32f5
feat(portal): add useContextMenuFloating hook for coordinate-based context menus
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.
2026-01-29 14:01:36 +08:00
..
index.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.stories.tsx chore: update to story book nextjs-vite (#31536) 2026-01-26 17:07:20 +08:00
index.tsx fix: Add vertical scrolling support for floating elements. (#30897) 2026-01-26 15:17:42 +08:00
use-context-menu-floating.spec.tsx feat(portal): add useContextMenuFloating hook for coordinate-based context menus 2026-01-29 14:01:36 +08:00
use-context-menu-floating.ts feat(portal): add useContextMenuFloating hook for coordinate-based context menus 2026-01-29 14:01:36 +08:00