Skip to content

Releases: floating-ui/floating-ui

@floating-ui/utils@0.2.2

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix: avoid spreading rects to support DOMRect types

@floating-ui/react@0.26.13

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix(FloatingFocusManager): return focus to reference when applicable even if not focused on open
  • fix(types): simplify React types
  • fix(types): replace React_2 with React in generated .d.ts files
  • fix(types): revert React.JSX.Element back to JSX.Element
  • fix(useHover): restMs + nullish open delay should respect restMs

@floating-ui/react-native@0.10.5

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix(types): replace React_2 with React in generated .d.ts files

@floating-ui/react-dom@2.0.9

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix(types): replace React_2 with React in generated .d.ts files

@floating-ui/dom@1.6.4

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix: avoid spreading rects to support DOMRect types
  • fix(types): use DOM Derivable type
  • perf(autoUpdate): reduce layoutShift update checks while reference is clipped from view

@floating-ui/core@1.6.1

28 Apr 10:31
dd20eeb
Compare
Choose a tag to compare

Patch Changes

  • fix: avoid spreading rects to support DOMRect types

@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>