Files
eranos/src
Lemon 2c87f1c84c Replace hand-rolled dropdown positioning with Floating UI and fix search input bugs
- Replace manual portal positioning (scroll/resize listeners, fixed coords) with
  @floating-ui/react for robust dropdown placement that handles CSS-transformed
  ancestors (Sheet slide animations, dnd-kit sortable transforms)
- Fix dropdown not following input when sidebar scrolls on small/medium screens
  by using PortalContainerProvider in MobileDrawer (matching the established
  codebase pattern for popovers inside Sheet/Dialog), with strategy:'absolute'
  when portaling into a container and strategy:'fixed' at document.body level
- Fix input height change on focus by matching --title-font-family on the input
  via new inputStyle prop, with md:text-[length:inherit] to reliably override
  the Input component's md:text-sm responsive class
- Add onDismiss callback to ProfileSearchDropdown so parent components can react
  to outside clicks and Escape without duplicate document-level listeners
- Remove inlineSearch prop (always true at every call site) — search items now
  render inline by default in SidebarNavList
2026-04-14 11:30:06 -07:00
..