-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency @floating-ui/react to v0.27.0 #139
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/floating-ui-react-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.20.0
fix(deps): update dependency @floating-ui/react to v0.20.1
Mar 2, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
March 2, 2023 04:04
37707da
to
4956631
Compare
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
March 12, 2023 20:16
4956631
to
661b24e
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.20.1
fix(deps): update dependency @floating-ui/react to v0.21.0
Mar 12, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
March 14, 2023 19:32
661b24e
to
a3ddf58
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.21.0
fix(deps): update dependency @floating-ui/react to v0.21.1
Mar 14, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
March 19, 2023 21:49
a3ddf58
to
6c6bb1b
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.21.1
fix(deps): update dependency @floating-ui/react to v0.22.0
Mar 19, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
2 times, most recently
from
March 26, 2023 00:47
f3a1ea3
to
43a5fe1
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.22.0
fix(deps): update dependency @floating-ui/react to v0.22.1
Mar 26, 2023
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.22.1
fix(deps): update dependency @floating-ui/react to v0.22.2
Mar 26, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
2 times, most recently
from
April 2, 2023 08:39
1924325
to
de52f87
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.22.2
fix(deps): update dependency @floating-ui/react to v0.22.3
Apr 2, 2023
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.22.3
fix(deps): update dependency @floating-ui/react to v0.23.0
Apr 10, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
April 10, 2023 10:08
de52f87
to
32ea7e5
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.23.0
fix(deps): update dependency @floating-ui/react to v0.23.1
Apr 19, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
April 19, 2023 19:54
32ea7e5
to
e6a6be5
Compare
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
April 30, 2023 08:31
e6a6be5
to
abcfabe
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.23.1
fix(deps): update dependency @floating-ui/react to v0.24.0
Apr 30, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
May 13, 2023 15:48
abcfabe
to
81e29c9
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.24.0
fix(deps): update dependency @floating-ui/react to v0.24.1
May 13, 2023
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.24.1
fix(deps): update dependency @floating-ui/react to v0.24.2
May 29, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
May 29, 2023 02:02
81e29c9
to
77e791a
Compare
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
June 11, 2023 00:32
77e791a
to
dc9156a
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.24.2
fix(deps): update dependency @floating-ui/react to v0.24.3
Jun 11, 2023
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
July 4, 2023 09:53
dc9156a
to
84bc195
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.24.3
fix(deps): update dependency @floating-ui/react to v0.24.4
Jul 4, 2023
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.12
fix(deps): update dependency @floating-ui/react to v0.26.13
May 3, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
May 13, 2024 08:12
a5ec8db
to
f7f8411
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.13
fix(deps): update dependency @floating-ui/react to v0.26.14
May 13, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
May 15, 2024 18:14
f7f8411
to
a03ecee
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.14
fix(deps): update dependency @floating-ui/react to v0.26.15
May 15, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
May 20, 2024 02:55
a03ecee
to
89b3352
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.15
fix(deps): update dependency @floating-ui/react to v0.26.16
May 20, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
June 13, 2024 05:39
89b3352
to
a5b32d5
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.16
fix(deps): update dependency @floating-ui/react to v0.26.17
Jun 13, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
June 25, 2024 03:02
a5b32d5
to
90b039f
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.17
fix(deps): update dependency @floating-ui/react to v0.26.18
Jun 25, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
June 30, 2024 12:35
90b039f
to
f97eed1
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.18
fix(deps): update dependency @floating-ui/react to v0.26.19
Jun 30, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
July 22, 2024 11:28
f97eed1
to
e4122bf
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.19
fix(deps): update dependency @floating-ui/react to v0.26.20
Jul 22, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
September 1, 2024 11:12
e4122bf
to
7e6fdaa
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.20
fix(deps): update dependency @floating-ui/react to v0.26.23
Sep 1, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
September 15, 2024 07:06
7e6fdaa
to
44f8e22
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.23
fix(deps): update dependency @floating-ui/react to v0.26.24
Sep 15, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
October 14, 2024 04:47
44f8e22
to
9982031
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.24
fix(deps): update dependency @floating-ui/react to v0.26.25
Oct 14, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
October 30, 2024 09:15
9982031
to
0d32502
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.25
fix(deps): update dependency @floating-ui/react to v0.26.26
Oct 30, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
November 1, 2024 01:45
0d32502
to
aea425c
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.26
fix(deps): update dependency @floating-ui/react to v0.26.27
Nov 1, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
November 15, 2024 03:52
aea425c
to
79c68cf
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.27
fix(deps): update dependency @floating-ui/react to v0.26.28
Nov 15, 2024
renovate
bot
force-pushed
the
renovate/floating-ui-react-0.x
branch
from
December 6, 2024 04:09
79c68cf
to
8f09c06
Compare
renovate
bot
changed the title
fix(deps): update dependency @floating-ui/react to v0.26.28
fix(deps): update dependency @floating-ui/react to v0.27.0
Dec 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.19.2
->0.27.0
Release Notes
floating-ui/floating-ui (@floating-ui/react)
v0.27.0
Compare Source
Minor Changes
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.| undefined
return type for React 17Patch Changes
outsideElementsInert
prop. This enables pointer modality without a backdrop.referencePress
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.v0.26.28
Compare Source
Patch Changes
useHover()
stickIfOpen
prop to determine whether to remain open upon first click when first opened by another eventreturnFocus
is ignored correctly when usingdisabled
propv0.26.27
Compare Source
Patch Changes
virtualItemRef
on floating closeroot
to be reactive fromnull
to an elementv0.26.26
Compare Source
Patch Changes
domReference
instead ofreference
v0.26.25
Compare Source
Patch Changes
restMs
enabled
optionmax-height
only if not scrollablev0.26.24
Compare Source
Patch Changes
React.JSX.Element
types. Ensure you've upgraded to the latest@types/react
patches (versions since May 6, 2023)transform
style propertymaxHeight
and applyminItemsVisible
only when scrollable@floating-ui/[email protected]
,@floating-ui/[email protected]
v0.26.23
Compare Source
Patch Changes
onOpenChange
reason string forFloatingFocusManager
'scloseOnFocusOut
handlingstaticOffset
prop if floating element is shifted. Fixes an issue where the arrow could potentially point to nothing if it was shifted enough from its reference element.onNavigate
from potentially passing in anundefined
value instead ofnull
blockPointerEvents
no longer addspointer-events: none
to unintended<body>
elements.disabled
propv0.26.22
Compare Source
Patch Changes
@floating-ui/[email protected]
v0.26.21
Compare Source
Patch Changes
@floating-ui/[email protected]
v0.26.20
Compare Source
Patch Changes
focus
call inact
inuseFocus
tests@floating-ui/[email protected]
v0.26.19
Compare Source
Patch Changes
scrollX
/scrollY
instead of deprecatedpageXOffset
/pageYOffset
@floating-ui/[email protected]
v0.26.18
Compare Source
Patch Changes
reference
andfloating
prop getters had dependencies grouped.FloatingPortalProps
,CompositeProps
,CompositeItemProps
useHover
anduseClick
hooks and a click occurred before the floating element could open on hover, it would unexpectedly close onmouseleave
despite being triggered by a click.@floating-ui/[email protected]
v0.26.17
Compare Source
Patch Changes
restoreFocus
prop. This enables automatic restoration of focus to the nearest tabbable element if the element that currently has focus inside the floating element is removed from the DOM.v0.26.16
Compare Source
Patch Changes
scrollIntoView
andfocus
behavior with virtual focus and inner DOM-focused element +FloatingList
undefined
id with unconditional rendering in React <18selectedIndex
changes from stealing focusdisabledIndices
is inferredscript
tags needlessly@floating-ui/[email protected]
v0.26.15
Compare Source
Patch Changes
isMounted
check and remove unneeded initiated state. Prevents an infinite loop when called in a component with an unstable callback ref.v0.26.14
Compare Source
Patch Changes
useFloatingRootContext
Hook, which enables calling interaction hooks in a component higher in the tree thanuseFloating
is called in. This supports spreading reference props onto an "external" reference element.v0.26.13
Compare Source
Patch Changes
React_2
withReact
in generated .d.ts filesReact.JSX.Element
back toJSX.Element
restMs
+ nullish open delay should respectrestMs
v0.26.12
Compare Source
Patch Changes
dataRef
openEvent
property toundefined
on close. Fixes a minor issue whenuseHover
restMs
is combined withuseClientPoint
and focus modality was used before hover modality.v0.26.11
Compare Source
Patch Changes
mouseOnly
is respected whenrestMs
is specified. Also ensurerestMs
is always0
for touch input.FloatingOverlayProps
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.v0.26.10
Compare Source
Patch Changes
v0.26.9
Compare Source
Patch Changes
v0.26.8
Compare Source
Patch Changes
@floating-ui/[email protected]
v0.26.7
Compare Source
Patch Changes
@floating-ui/[email protected]
v0.26.6
Compare Source
Patch Changes
c9c5058
: fix(useListNavigation): sync internalindexRef
toselectedIndex
on open. Fixes an issue where ifselectedIndex
changed after initial render before opening,activeIndex
would not be correctly synced.8b3c93b
: fix(utils): check if env is JSDOM forisVirtualPointerEvent
. Fixes issue when testingvisibleOnly
prop inuseFocus
.d3a773b
]v0.26.5
Compare Source
Patch Changes
672e458
: feat(useListNavigation, Composite): support grid navigation over items with variable sizes4c04669
: chore: exports .d.mts types, solves #24726af9808
: fix(react/utils): cross-browserisVirtualPointerEvent
4c04669
]afb7e5e
]v0.26.4
Compare Source
Patch Changes
7dc269c
: feat(useRole): addselect
andcombobox
component roles and allowdynamic/derivable item props based on
active
andselected
states. Alsoadds
menuitem
role for nestedmenu
reference elements, and automaticallyadds an
id
to the item props for the new component roles for virtual focus.d9be248
: fix(useListNavigation): applyaria-activedescendant
prop onfloating element only for non typeable-combobox reference elements. Fixes
issues with Firefox VoiceOver on Mac forcing DOM focus into the listbox.
v0.26.3
Compare Source
Patch Changes
9170b9e
: fix(useDismiss):targetRootAncestor
check for third party outsidepresses
The Grammarly extension no longer closes upon clicking when inside floating
elements.
66efdaf
: fix(FloatingFocusManager): return focus to last connected elementv0.26.2
Compare Source
Patch Changes
c1965f6
: refactor: minor jsdoc/type improvements3bd42f2
: feat: reason strings as third param of onOpenChange14cb168
: fix(FloatingFocusManager): avoid returning focus to reference iffocus moved elsewhere
628fd11
: feat(useRole): add label rolec1965f6
]v0.26.1
Compare Source
Patch Changes
ac17abb
: feat(Composite): allow controlled mode withactiveIndex
andonNavigate
propsc3bfd04
: fix(useFocus): improvevisibleOnly
detection43725a2
: feat(useDismiss): addcapture
option and defaultoutsidePress
totrue
v0.26.0
Compare Source
Minor Changes
0668ed6
: feat(useFocus): replacekeyboardOnly
option withvisibleOnly
(matches :focus-visible CSS selector)
Patch Changes
07d8e85
: fix(useDismiss): handle dragging outside/inside floating elementwith click
outsidePressEvent
841eb03
: fix(useFocus): close on blur only if focus remains in documente6d80ef
: fix(FloatingFocusManager): treat untrapped combobox reference asnon-modal guards
4144204
: fix: virtual event check for Android28659c4
: refactor: move react utils to @floating-ui/react/utils28659c4
]v0.25.4
Compare Source
Patch Changes
8bf6e82
: fix(Composite): loop false8d57664
: feat(useListNavigation): support nested virtual navigationv0.25.3
Compare Source
Features
Composite
componentsBug Fixes
v0.25.2
Compare Source
Bug Fixes
fix(FloatingOverlay): prevent multiple
lockScroll
s with delayed unmount from unexpectedly removing laterlockScroll
(#2508)fix(FloatingFocusManager): keep modal focus trapped if reference is a
combobox
andinitialFocus
is not negative (#2509)v0.25.1
Compare Source
Bug Fixes
fix(types): resolution when using
moduleResolution: "NodeNext"
(#2473)fix(useDismiss): ignore outsidePress on third party elements injected after floating element renders (#2471)
fix(FloatingArrow): type error when passing
context
with generic reference type (#2484)v0.25.0
Compare Source
Refactors
@floating-ui/utils
package (@floating-ui/utils/react
import) (#2449)Bug Fixes
fix(FloatingPortal): generated
.d.ts
files have an inline import even though JSX is global (#2457)Remove need for
skipLibCheck
in tsconfigfix(useHover): cleanup when
domReference
changes (#2466)Clears delays and other side effects if the
domReference
changes (or is removed)fix: add type and runtime error for virtual element passed as
elements.reference
(#2467)v0.24.8
Compare Source
Bug Fixes
fix:
useClick
+useHover
combo (#2444)After hovering then clicking the reference element, the floating element does not close upon
mouseleave
(as in <=v0.24.2)feat(FloatingFocusManager):
disabled
prop (#2445)Provides ability to enable/disable the focus manager without conditional rendering, e.g. to prevent focus trap or initial focus until a transition completes
fix(types): export
FloatingFocusManagerProps
(#2445)v0.24.7
Compare Source
Bug Fixes
fix(useListNavigation): revert skipping hidden items (#2431)
fix: add check for own instance in
is*
guard functions (#2439)Fixes
useHover
not working in new windows (window.open()
)v0.24.6
Compare Source
Bug Fixes
v0.24.5
Compare Source
Bug Fixes
v0.24.4
Compare Source
Bug Fixes
fix(useListNavigation): automatically skip
hidden
elements that are rendered but invisible (#2397)fix(useMergeRefs): add
undefined
type (#2387)fix(useDismiss): prevent outside press dismissal on elements injected outside app root after a modal floating element renders to better support third party extensions (#2399)
fix(inner): take into account floating element
clientTop
(borders) (#2412)fix(FloatingFocusManager): refactor
guards={false}
prop to useinert
attribute (#2399)v0.24.3
Compare Source
Bug Fixes
fix: pass
event
param as second argument toonOpenChange
(#2362)fix(FloatingPortal): give
root
prop priority and allow refs (#2363)v0.24.2
Compare Source
Bug Fixes
left
/right
placements when stroke is specified (#2346)v0.24.1
Compare Source
Bug Fixes
fix(safePolygon): measure offset bridge from smaller element (#2327)
fix: UMD build name (
FloatingUIReact
, notFloatingUIReactDOM
) (#2325)fix(FloatingArrow): render
null
if floating element is not available (#2326)v0.24.0
Compare Source
Refactors
@floating-ui/react-dom
to v2 (#2300)View CHANGELOG for breaking changes
Bug Fixes
fix(useTypeahead): opening when typing a space on non-button reference with
useClick
, and timing ofonTypingChange
callback setting tofalse
(#2305)fix(FloatingArrow): add ability to override internal
style
s (#2308)fix(FloatingFocusManager): better handle subtree changes (#2305)
v0.23.1
Compare Source
Bug Fixes
fix(FloatingList): properly update when list contains only one item (#2294)
fix(FloatingFocusManager): separate initialFocus and returnFocus effects (#2295)
Wait for unmount transition before returning focus
fix(FloatingFocusManager): ignore outside guards while transitioning out (#2295)
v0.23.0
Compare Source
New Features
feat(safePolygon): replace
restMs
option withrequireIntent
boolean option (#2284)When multiple reference elements next to each other have hoverable floating elements,
requireIntent
(true
by default) ensures the triangle polygon does not block hover events too aggressively compared torestMs
by calculating the cursor speed to determine intent.feat:
FloatingList
anduseListItem
exports (#2269)This enables easy creation of composable children APIs without needing to map
children
and passing anindex
as a prop — including the ability to nest items in another tag or component.Bug Fixes
fix(useClick): ignore Space
keyup
if Spacekeydown
on same element did not precede it (#2277)fix(useDelayGroupContext):
isInstantPhase
bool sometimes being incorrectlyfalse
(#2286)fix(FloatingPortal): adjust cleanup strategy to better work with
React.StrictMode
and conditional rendering (#2286)v0.22.3
Compare Source
Bug Fixes
fix(FloatingFocusManager): respect
autoFocus
prop on children (#2264)fix(FloatingFocusManager): wait for tree nodes context to be updated (#2265)
fix(FloatingFocusManager): wait for microtask before selecting tabbable elements for initial focus (#2270)
v0.22.2
Compare Source
Bug Fixes
v0.22.1
Compare Source
Bug Fixes
fix(useInteractions): merging function props that return values (#2244)
fix(useClientPoint): keep anchored to reference on
autoUpdate
in applicable scenarios (#2249)fix(useHover): touch interactivity of floating element without
safePolygon
(#2253)fix(useTransitionStyles): reduce initial re-renders (#2254)
v0.22.0
Compare Source
Refactors
refactor(FloatingPortal): preserve subroot structure (#2240)
When specifying a custom
root
orid
, the floating element is always injected into a new subroot inside of it. The subroot has a unique id to ensurearia-owns
is referenced correctly when multiple floating elements are rendered at the same time. This makes portal container behavior consistent whether props are specified or not.If you don't want the subroot node always in the DOM, the library now supports conditionally rendering
FloatingPortal
based on the open/mounted state.refactor(useFloatingPortalNode): remove
enabled
prop (#2240)Bug Fixes
fix(useListNavigation): allow scheduled/async list population on arrow keydown open (#2236)
fix(useDismiss): close when outside press dismissing on an inline element in Firefox (#2238)
fix: allow
FloatingPortal
to be conditionally rendered based on open state (#2239)v0.21.1
Compare Source
Bug Fixes
v0.21.0
Compare Source
New Features
feat:
useClientPoint
interaction hook (#2179)This hook provides the ability to position the floating element relative to a client "point" reference. By default, "client" means mouse event coordinates since they possess
clientX/Y
values, so it follows the cursor when open. You can also use explicitx
andy
client coordinates.If you've used Tippy.js, it provides similar functionality to
followCursor
while being a bit more general.Refactors
refactor(useDismiss): default
bubbles.escapeKey
option tofalse
, and allow bubbling prevention to work without usingFloatingTree
(#2207)refactor(useTypeahead): reduce default
resetMs
to750
from1000
(#2213)refactor(FloatingArrow): internally double
strokeWidth
so it matchesborderWidth
values (#2223)strokeWidth
s larger than the floating element'sborderWidth
are not supported.refactor(useTypeahead): add
onTypingChange
callback to allow setting a local ref and deprecatecontext.dataRef.current.typing
value (#2213)Bug Fixes
fix(useFloating): return extended
elements
from hook (#2209)fix(useListNavigation): use mounted rather than open state to focus parent floating in tree (#2210)
fix(FloatingFocusManager): make
initialFocus
andreturnFocus
non-reactive (#2211)fix: share
floatingId
viacontext
object (#2203)fix(FloatingFocusManager): reset preventing
returnFocus
withcloseOnFocusOut={false}
when tabbing out then back in (#2214)fix(FloatingFocusManager): mutate internal preventReturnFocusRef instead of returnFocusRef (#2215)
fix(useTypeahead): improve logic (#2213)
role
be set and stop propagation/prevent default if typeahead is in usefix(FloatingFocusManager): ensure
returnFocus
of a nested floating element can return to a root reference if it wasn't focused upon open (such as with a pointer) (#2221)fix(FloatingArrow): prevent transparency overlap if the floating element border and stroke are both partially transparent (#2223)
fix(FloatingFocusManager): ensure
initialFocus
works if re-opening floating element while it was transitioning out (#2221)fix(FloatingArrow): ensure correct vertical size with larger stroke widths (#2223)
fix(FloatingArrow): allow
height
>width
(#2223)v0.20.1
Compare Source
Bug Fixes
v0.20.0
Compare Source
New Features
feat:
FloatingArrow
component (#2195)Provides the ability to render a customizable
<svg>
arrow element within a floating element that is automatically positioned, without needing to setup complex styles.Configuration
📅 Schedule: Branch creation - "* 0-4,22-23 * * 1-5,* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.