From fed1551eb2963ee5accf26582e21e1fd2efce5bd Mon Sep 17 00:00:00 2001 From: Cain Hall Date: Thu, 26 Sep 2024 00:52:48 +1000 Subject: [PATCH] fix: root node for RovingFocusItem when shadowRoot (#1314) * fix: root node for RovingFocusItem when shadowRoot * chore: replace with usePrimitveElement --------- Co-authored-by: zernonia Co-authored-by: sunnylost --- packages/radix-vue/src/RovingFocus/RovingFocusItem.vue | 8 ++++++-- packages/radix-vue/src/RovingFocus/utils.ts | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/radix-vue/src/RovingFocus/RovingFocusItem.vue b/packages/radix-vue/src/RovingFocus/RovingFocusItem.vue index 76a3dfe59..622004030 100644 --- a/packages/radix-vue/src/RovingFocus/RovingFocusItem.vue +++ b/packages/radix-vue/src/RovingFocus/RovingFocusItem.vue @@ -12,7 +12,7 @@ export interface RovingFocusItemProps extends PrimitiveProps { @@ -84,6 +87,7 @@ function handleKeydown(event: KeyboardEvent) {