Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/[email protected]
Patch Changes
- fix(useFloating): avoid setting
isPositioned
to true whenopen
is false - Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix: make element utils ssr-friendly
@floating-ui/[email protected]
Patch Changes
- fix(FloatingOverlay): correct multiple locks behavior on iOS
- fix(FloatingFocusManager): avoid returning focus to nearest tabbable element of the reference if it gets removed when the floating element closes to avoid unwanted focus effects of unrelated elements firing. Tab index context remains preserved if the floating element is portaled.
- refactor: use
React.JSX.Element
types. Ensure you've upgraded to the latest@types/react
patches (versions since May 6, 2023) - fix(FloatingArrow): avoid requiring leading space for manually specified
transform
style property - fix(inner): round
maxHeight
and applyminItemsVisible
only when scrollable - Update dependencies:
@floating-ui/[email protected]
,@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(useFloating): avoid setting
isPositioned
to true whenopen
is false
@floating-ui/[email protected]
Patch Changes
- fix: handle html relative offset
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(size): fill viewport along an axis if shift is enabled on that axis
- fix(offset): avoid NaN when mainAxis or crossAxis is undefined
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- feat: add
onOpenChange
reason string forFloatingFocusManager
'scloseOnFocusOut
handling - fix(inner): correctly handle borders
- fix(FloatingArrow): ignore
staticOffset
prop if floating element is shifted. Fixes an issue where the arrow could potentially point to nothing if it was shifted enough from its reference element. - fix(useListNavigation, Composite): prevent
onNavigate
from potentially passing in anundefined
value instead ofnull
- fix(useHover):
blockPointerEvents
no longer addspointer-events: none
to unintended<body>
elements. - fix: manage focus on element with floating props spread on it
- fix(FloatingFocusManager): support keepMounted behavior with
disabled
prop
@floating-ui/[email protected]
Patch Changes
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(getFrameElement): ensure
win.parent
is an object
@floating-ui/[email protected]
Patch Changes
- Update dependencies:
@floating-ui/[email protected]