Releases: floating-ui/floating-ui
Releases · floating-ui/floating-ui
@floating-ui/vue@1.1.6
Patch Changes
- Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/utils@0.2.9
Patch Changes
- fix(getContainingBlock): detect
translate
,rotate
,scale
shorthand properties
@floating-ui/react@0.27.3
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/utils@0.2.9
@floating-ui/dom@1.6.13
Patch Changes
- fix(autoUpdate): work around
IntersectionObserver
issue that sometimes fails to detect movement of reference element - Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/core@1.6.9
Patch Changes
- Update dependencies:
@floating-ui/utils@0.2.9
@floating-ui/react@0.27.2
Patch Changes
- fix(FloatingFocusManager): prevent stale
inert
/aria-hidden
attributes from being left on outside elements
@floating-ui/react@0.27.1
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/react@0.27.0
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/react@0.26.28
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/react-native@0.10.7
Patch Changes
- fix: correctly calculate y-coordinate on Android