Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/utils@0.2.2
Patch Changes
- fix: avoid spreading rects to support
DOMRect
types
@floating-ui/react@0.26.13
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
withReact
in generated .d.ts files - fix(types): revert
React.JSX.Element
back toJSX.Element
- fix(useHover):
restMs
+ nullish open delay should respectrestMs
@floating-ui/react-native@0.10.5
Patch Changes
- fix(types): replace
React_2
withReact
in generated .d.ts files
@floating-ui/react-dom@2.0.9
Patch Changes
- fix(types): replace
React_2
withReact
in generated .d.ts files
@floating-ui/dom@1.6.4
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
Patch Changes
- fix: avoid spreading rects to support
DOMRect
types
@floating-ui/react@0.26.12
Patch Changes
- fix(useFloating): external element synchronization with domReference and positionReference
- fix(useFloating): set
dataRef
openEvent
property toundefined
on close. Fixes a minor issue whenuseHover
restMs
is combined withuseClientPoint
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
Patch Changes
- fix(useHover): ensure
mouseOnly
is respected whenrestMs
is specified. Also ensurerestMs
is always0
for touch input. - fix(types): export
FloatingOverlayProps
- feat(useDelayGroup): return the
GroupContext
value from the Hook, and don't require anid
option to be passed. You only need to invokeuseDelayGroup()
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
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
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>