Skip to content

Releases: floating-ui/floating-ui

@floating-ui/[email protected]

28 Feb 01:48
71abe52
Compare
Choose a tag to compare

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/[email protected]

07 Feb 08:26
c2e3590
Compare
Choose a tag to compare

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/[email protected]

07 Jan 10:06
b0dfb58
Compare
Choose a tag to compare

Patch Changes

@floating-ui/[email protected]

07 Jan 10:06
b0dfb58
Compare
Choose a tag to compare

Patch Changes

  • fix(getContainingBlock): detect translate, rotate, scale shorthand properties

@floating-ui/[email protected]

07 Jan 10:06
b0dfb58
Compare
Choose a tag to compare

Patch Changes

  • feat(FloatingFocusManager): accept FloatingRootContext as the context prop
  • fix(useListNavigation): check for virtual pointer on pointerenter
  • refactor: use jsx runtime
  • Update dependencies: @floating-ui/[email protected]

@floating-ui/[email protected]

07 Jan 10:06
b0dfb58
Compare
Choose a tag to compare

Patch Changes

  • fix(autoUpdate): work around IntersectionObserver issue that sometimes fails to detect movement of reference element
  • Update dependencies: @floating-ui/[email protected]

@floating-ui/[email protected]

07 Jan 10:06
b0dfb58
Compare
Choose a tag to compare

Patch Changes

@floating-ui/[email protected]

16 Dec 09:34
6a9f758
Compare
Choose a tag to compare

Patch Changes

  • fix(FloatingFocusManager): prevent stale inert/aria-hidden attributes from being left on outside elements

@floating-ui/[email protected]

15 Dec 05:38
33bd900
Compare
Choose a tag to compare

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 when modal=false

@floating-ui/[email protected]

06 Dec 03:43
afca34c
Compare
Choose a tag to compare

Minor Changes

  • chore: deprecate inner and useInnerOffset. This technique of aligning an inner element to the reference has poor performance with longer lists, doesn't fit with the middleware paradigm, doesn't work on touch, and has a better custom alternative using native onScroll that is encouraged instead.
  • breaking: drop React 16 support. 17 is the minimum supported version.
  • fix(useId): add | undefined return type for React 17

Patch Changes

  • feat(FloatingFocusManager): add outsideElementsInert prop. This enables pointer modality without a backdrop.
  • perf(useListNavigation): simplify focusing to remove unneeded asynchronicity
  • fix(useDismiss): allow native clicks to work with referencePress
  • fix(useDismiss): read target overflow style for scrollbar press check. Fixes an issue where outside presses would be incorrectly prevented if the target element that was pressed appeared scrollable but was actually not.
  • fix(FloatingFocusManager): check for 'safe-polygon' reason on return focus