Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/[email protected]
Patch Changes
- fix(Composite): change focus to be sync
- fix(useClick): improve consistency when combining with
useHover()
- feat(useClick): add
stickIfOpen
prop to determine whether to remain open upon first click when first opened by another event - feat(Composite): add RTL support
- fix(FloatingFocusManager): ensure
returnFocus
is ignored correctly when usingdisabled
prop - fix(useListNavigation): incorrect behaviour with RTL grid
@floating-ui/[email protected]
Patch Changes
- fix: correctly calculate y-coordinate on Android
@floating-ui/[email protected]
Patch Changes
- fix(useListNavigation): ignore Home/End key press for typeable combobox references
- fix(useListNavigation): ensure submenu references are set as
virtualItemRef
on floating close - fix(inner): use list ref length for fallback detection
- fix(FloatingPortal): allow
root
to be reactive fromnull
to an element.⚠️ an always-null
value will never render a portal node as this indicates it's waiting for an element; it must beundefined
@floating-ui/[email protected]
Patch Changes
- fix(useFloating): access
domReference
instead ofreference
- feat(FloatingFocusManager): specify element to return focus to
@floating-ui/[email protected]
Patch Changes
- fix: handle relative html offset clipping rect
- fix(getClippingRect): allow passing
DOMRect
as aboundary
@floating-ui/[email protected]
Patch Changes
- fix(useListNavigation): handle virtual nested Home/End key press
- fix(useHover): ignore insignificant movement when resetting
restMs
- fix(useListNavigation): ignore duplicate arrow navigation when composing
- feat(useDelayGroup): add
enabled
option - fix(useDismiss): handle IME keydown events on Escape
- fix(inner): round
max-height
only if not scrollable
@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