Repository navigation
v0.12.1
[0.12.1] - 2026-10-16
Fixed
-
A popup with no room on either side of its axis drops below (or above) its anchor instead of
running off the screen. The clearest case is aMenu.SubmenuRooton a phone: the submenu opens
inline-endof a row in a menu that already spans most of a 393pt screen, so neither the right nor
the left has room, and it stayed on the side it overflowed least — half of it past the edge, since
shiftonly moves a popup along its anchor.flipnow takesfallbackAxisSideDirection: 'end', as
Base UI'scollisionAvoidancedefault does, so floating-ui tries the perpendicular sides too. -
Cross-axis overflow no longer flips a popup.
flipran with floating-ui's default
crossAxis: true, under which a popover that was only too wide for the screen counted as
overflowing its side and could be moved to the opposite one. It iscrossAxis: 'alignment'now,
as in Base UI: a popup leaves its side only when that side has no room along the main axis, and
overflow across the axis isshift's to correct.