Skip to content

Releases: floating-ui/floating-ui

@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

@floating-ui/[email protected]

15 Nov 03:11
ba32495
Compare
Choose a tag to compare

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 using disabled prop
  • fix(useListNavigation): incorrect behaviour with RTL grid

@floating-ui/[email protected]

09 Nov 03:05
948bbb9
Compare
Choose a tag to compare

Patch Changes

  • fix: correctly calculate y-coordinate on Android