Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/react@0.26.28
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/react-native@0.10.7
Patch Changes
- fix: correctly calculate y-coordinate on Android
@floating-ui/react@0.26.27
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/react@0.26.26
Patch Changes
- fix(useFloating): access
domReference
instead ofreference
- feat(FloatingFocusManager): specify element to return focus to
@floating-ui/dom@1.6.12
Patch Changes
- fix: handle relative html offset clipping rect
- fix(getClippingRect): allow passing
DOMRect
as aboundary
@floating-ui/react@0.26.25
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/vue@1.1.5
Patch Changes
- fix(useFloating): avoid setting
isPositioned
to true whenopen
is false - Update dependencies:
@floating-ui/utils@0.2.8
@floating-ui/utils@0.2.8
Patch Changes
- fix: make element utils ssr-friendly
@floating-ui/react@0.26.24
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/react-dom@2.1.2
,@floating-ui/utils@0.2.8
@floating-ui/react-dom@2.1.2
Patch Changes
- fix(useFloating): avoid setting
isPositioned
to true whenopen
is false