Skip to content

Releases: floating-ui/floating-ui

@floating-ui/react@0.26.28

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/react-native@0.10.7

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

Patch Changes

  • fix: correctly calculate y-coordinate on Android

@floating-ui/react@0.26.27

31 Oct 23:39
f1d95ac
Compare
Choose a tag to compare

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 from null to an element. ⚠️ an always-null value will never render a portal node as this indicates it's waiting for an element; it must be undefined

@floating-ui/react@0.26.26

30 Oct 07:19
c967200
Compare
Choose a tag to compare

Patch Changes

  • fix(useFloating): access domReference instead of reference
  • feat(FloatingFocusManager): specify element to return focus to

@floating-ui/dom@1.6.12

30 Oct 07:19
c967200
Compare
Choose a tag to compare

Patch Changes

  • fix: handle relative html offset clipping rect
  • fix(getClippingRect): allow passing DOMRect as a boundary

@floating-ui/react@0.26.25

14 Oct 02:41
1ed123b
Compare
Choose a tag to compare

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

15 Sep 06:07
ecd627e
Compare
Choose a tag to compare

Patch Changes

  • fix(useFloating): avoid setting isPositioned to true when open is false
  • Update dependencies: @floating-ui/utils@0.2.8

@floating-ui/utils@0.2.8

15 Sep 06:07
ecd627e
Compare
Choose a tag to compare

Patch Changes

  • fix: make element utils ssr-friendly

@floating-ui/react@0.26.24

15 Sep 06:07
ecd627e
Compare
Choose a tag to compare

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 apply minItemsVisible 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

15 Sep 06:07
ecd627e
Compare
Choose a tag to compare

Patch Changes

  • fix(useFloating): avoid setting isPositioned to true when open is false