Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@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>
@floating-ui/dom@1.6.2
Patch Changes
- fix: top layer element positioning and collision detection when using
absolute
strategy
@floating-ui/react@0.26.9
Patch Changes
- fix(useFocus): avoid closing floating element when focus moves inside shadow roots
@floating-ui/vue@1.0.6
Patch Changes
- Update dependencies:
@floating-ui/dom@1.6.1
@floating-ui/react@0.26.8
Patch Changes
- Update dependencies:
@floating-ui/react-dom@2.0.8
@floating-ui/react-dom@2.0.8
Patch Changes
- Update dependencies:
@floating-ui/dom@1.6.1
@floating-ui/dom@1.6.1
Patch Changes
- perf: avoid
getContainingBlock
call for non-top layer elements