Skip to content

Releases: floating-ui/floating-ui

@floating-ui/react@0.26.12

10 Apr 02:41
d2381e8
Compare
Choose a tag to compare

Patch Changes

  • fix(useFloating): external element synchronization with domReference and positionReference
  • fix(useFloating): set dataRef openEvent property to undefined on close. Fixes a minor issue when useHover restMs is combined with useClientPoint and focus modality was used before hover modality.
  • fix(useId): avoid import error in new bundlers when using React <18, and also ensure id collisions don't occur when multiple independent versions of Floating UI are used with React <18.

@floating-ui/react@0.26.11

05 Apr 02:05
9b4b614
Compare
Choose a tag to compare

Patch Changes

  • fix(useHover): ensure mouseOnly is respected when restMs is specified. Also ensure restMs is always 0 for touch input.
  • fix(types): export FloatingOverlayProps
  • feat(useDelayGroup): return the GroupContext value from the Hook, and don't require an id option to be passed. You only need to invoke useDelayGroup() and read the context data from it. As a result, useDelayGroupContext() has been deprecated as it no longer needs to be used.

@floating-ui/react@0.26.10

26 Mar 11:05
21f1282
Compare
Choose a tag to compare

Patch Changes

  • fix(FloatingFocusManager): return focus to the first tabbable descendant of the reference element if the reference element itself is not focusable

@floating-ui/dom@1.6.3

12 Feb 11:39
f7bc5d3
Compare
Choose a tag to compare

Patch Changes

  • fix: calculate reference element offset relative to offsetParent iframe. Fixes issue with positioning in nested iframes, such as the following:
<html>
  <iframe>
    <div>floating</div>
    <iframe>
      <div>reference</div>
    </iframe>
  </iframe>
</html>

@floating-ui/dom@1.6.2

11 Feb 18:07
53973c8
Compare
Choose a tag to compare

Patch Changes

  • fix: top layer element positioning and collision detection when using absolute strategy

@floating-ui/react@0.26.9

03 Feb 03:09
86526a7
Compare
Choose a tag to compare

Patch Changes

  • fix(useFocus): avoid closing floating element when focus moves inside shadow roots

@floating-ui/vue@1.0.6

28 Jan 05:32
f74524d
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies: @floating-ui/dom@1.6.1

@floating-ui/react@0.26.8

28 Jan 05:32
f74524d
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies: @floating-ui/react-dom@2.0.8

@floating-ui/react-dom@2.0.8

28 Jan 05:32
f74524d
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies: @floating-ui/dom@1.6.1

@floating-ui/dom@1.6.1

28 Jan 05:32
f74524d
Compare
Choose a tag to compare

Patch Changes

  • perf: avoid getContainingBlock call for non-top layer elements