diff --git a/packages/react/src/AnchoredOverlay/AnchoredOverlay.features.stories.tsx b/packages/react/src/AnchoredOverlay/AnchoredOverlay.features.stories.tsx index a1dfe68ea63..3f914def820 100644 --- a/packages/react/src/AnchoredOverlay/AnchoredOverlay.features.stories.tsx +++ b/packages/react/src/AnchoredOverlay/AnchoredOverlay.features.stories.tsx @@ -104,6 +104,7 @@ export const CustomAnchorId = () => { renderAnchor={props => } anchorId="my-custom-anchor-id" overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}} + focusZoneSettings={{disabled: true}} > {hoverCard} @@ -121,6 +122,7 @@ export const Height = () => { renderAnchor={props => } height="large" overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}} + focusZoneSettings={{disabled: true}} > {hoverCard} @@ -138,6 +140,7 @@ export const Width = () => { renderAnchor={props => } width="large" overlayProps={{role: 'dialog', 'aria-modal': true, 'aria-label': 'User Card Overlay'}} + focusZoneSettings={{disabled: true}} > { )} 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}