Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/[email protected]
Patch Changes
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(getContainingBlock): detect
translate
,rotate
,scale
shorthand properties
@floating-ui/[email protected]
Patch Changes
- feat(FloatingFocusManager): accept
FloatingRootContext
as thecontext
prop - fix(useListNavigation): check for virtual pointer on pointerenter
- refactor: use jsx runtime
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(autoUpdate): work around
IntersectionObserver
issue that sometimes fails to detect movement of reference element - Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- Update dependencies:
@floating-ui/[email protected]
@floating-ui/[email protected]
Patch Changes
- fix(FloatingFocusManager): prevent stale
inert
/aria-hidden
attributes from being left on outside elements
@floating-ui/[email protected]
Patch Changes
- fix(FloatingFocusManager): correctly fallback to container
- fix(FloatingFocusManager): check for ancestor floating focus element during
closeOnFocusOut
- fix(FloatingFocusManager): avoid marking tree ancestor floating nodes with
data-floating-ui-inert
whenmodal=false
@floating-ui/[email protected]
Minor Changes
- chore: deprecate
inner
anduseInnerOffset
. This technique of aligning an inner element to the reference has poor performance with longer lists, doesn't fit with the middleware paradigm, doesn't work on touch, and has a better custom alternative using nativeonScroll
that is encouraged instead. - breaking: drop React 16 support. 17 is the minimum supported version.
- fix(useId): add
| undefined
return type for React 17
Patch Changes
- feat(FloatingFocusManager): add
outsideElementsInert
prop. This enables pointer modality without a backdrop. - perf(useListNavigation): simplify focusing to remove unneeded asynchronicity
- fix(useDismiss): allow native clicks to work with
referencePress
- fix(useDismiss): read target
overflow
style for scrollbar press check. Fixes an issue where outside presses would be incorrectly prevented if the target element that was pressed appeared scrollable but was actually not. - fix(FloatingFocusManager): check for 'safe-polygon' reason on return focus
@floating-ui/[email protected]
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 usingdisabled
prop - fix(useListNavigation): incorrect behaviour with RTL grid
@floating-ui/[email protected]
Patch Changes
- fix: correctly calculate y-coordinate on Android