Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/react@0.27.6
Patch Changes
- fix(useFloating): prevent error when using
inline
middleware when passing a real DOM element torefs.setPositionReference
due toelement.getClientRects()
not being handled - fix: avoid marking root ancestor combobox with
aria-hidden
when nested virtual floating element opens - fix(FloatingFocusManager): set
inert
attribute value to empty string instead of"true"
- fix(FloatingFocusManager): correct tabbing to different document contexts
- fix(useClick): fix toggle behavior with Enter key when reference element is anchor
- feat(FloatingFocusManager):
getInsideElements
prop. Allows you to specify elements that are considered as "inside" the floating element. These will avoid being marked witharia-hidden
anddata-floating-ui-inert
attributes. - fix(useFocus): improve
:focus-visible
checks
@floating-ui/react@0.27.5
Patch Changes
- fix(FloatingFocusManager): return focus on outside press if possible for non-context nested floating elements
- perf: improve performance by only clearing used timeouts
- fix(useMergeRefs): support React 19 ref cleanup
- fix(FloatingFocusManager): avoid returning to unrelated references
@floating-ui/react@0.27.4
Patch Changes
- fix(useListNavigation): use parent's orientation when opening/closing nested menus, correctly supporting grid submenus
- fix(FloatingList): avoid race condition between registering/unregistering nodes and setting indices
@floating-ui/vue@1.1.6
Patch Changes
- Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/utils@0.2.9
Patch Changes
- fix(getContainingBlock): detect
translate
,rotate
,scale
shorthand properties
@floating-ui/react@0.27.3
Patch Changes
- feat(FloatingFocusManager): accept
FloatingRootContext
as thecontext
prop - fix(useListNavigation): check for virtual pointer on pointerenter
- refactor: use jsx runtime
- Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/dom@1.6.13
Patch Changes
- fix(autoUpdate): work around
IntersectionObserver
issue that sometimes fails to detect movement of reference element - Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/core@1.6.9
Patch Changes
- Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/react@0.27.2
Patch Changes
- fix(FloatingFocusManager): prevent stale
inert
/aria-hidden
attributes from being left on outside elements
@floating-ui/react@0.27.1
Patch Changes
- fix(FloatingFocusManager): correctly fallback to container
- fix(FloatingFocusManager): check for ancestor floating focus element during
closeOnFocusOut
- fix(FloatingFocusManager): avoid marking tree ancestor floating nodes with
data-floating-ui-inert
whenmodal=false