New Features
- feat(useListNavigation):
openOnArrowKeyDown
anddisabledIndices
props (#1690)
Bug Fixes
-
fix(useHover): avoid
setTimeout
wrapper ifdelay
is an object but the individual value is set to0
(#1638) -
fix(FloatingOverlay): only use
position: fixed
technique on iOS and account for visual viewport offsets during pinch-zoom (#1693) -
fix(useHover): close on scroll
mouseleave
when usingsafePolygon
(#1694) -
fix(useListNavigation):
focusItemOnOpen
logic (#1638) -
fix(safePolygon): handle floating point errors (#1694)
-
fix(useListNavigation): off-by-one error when
activeIndex
is not initially set andallowEscape: false
(#1638) -
fix(useListNavigation): use
mouse
notpointer
events for hover focus sync to prevent unwanted sync while scrolling on touch devices (#1638) -
fix(FloatingFocusManager): prevent trapping focus if
reference
is specified inorder
andmodal: false
(#1638) -
fix(useFocus):
open
not changing if the window blurred and the reference element is the first element in the tab order (#1638) -
fix(useClick): keyboard
Enter
click requiring two presses after usingpointerDown
in certain situations (#1638)