{
)}
align="center"
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}
@@ -185,6 +189,7 @@ export const AnchorSide = () => {
renderAnchor={props => }
side="outside-right"
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}
@@ -202,6 +207,7 @@ export const OffsetPositionFromAnchor = () => {
renderAnchor={props => }
anchorOffset={100}
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}
@@ -219,6 +225,7 @@ export const OffsetAlignmentFromAnchor = () => {
renderAnchor={props => }
alignmentOffset={100}
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}
@@ -237,6 +244,7 @@ export const FocusTrapOverrides = () => {
renderAnchor={props => }
focusTrapSettings={{initialFocusRef}}
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'Focus Trap Demo Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
@@ -282,6 +290,7 @@ export const OverlayPropsOverrides = () => {
'aria-modal': true,
'aria-label': 'User Card Overlay',
}}
+ focusZoneSettings={{disabled: true}}
>
Overlay props have been overridden to set:
diff --git a/packages/react/src/AnchoredOverlay/AnchoredOverlay.stories.tsx b/packages/react/src/AnchoredOverlay/AnchoredOverlay.stories.tsx
index 344330f3ce7..84ec0727c24 100644
--- a/packages/react/src/AnchoredOverlay/AnchoredOverlay.stories.tsx
+++ b/packages/react/src/AnchoredOverlay/AnchoredOverlay.stories.tsx
@@ -54,6 +54,7 @@ export const Default = () => {
onClose={() => setOpen(false)}
renderAnchor={props => }
overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}
@@ -84,6 +85,7 @@ export const Playground = (args: Args) => {
'aria-label': 'User Card Overlay',
}}
side={args.side}
+ focusZoneSettings={{disabled: true}}
>
{hoverCard}