Skip to content

Commit

Permalink
Harden scrollLock behavior on EuiFlyout
Browse files Browse the repository at this point in the history
- push flyouts should still never set scrollLock to true
  • Loading branch information
cee-chen committed May 9, 2023
1 parent 2eb7141 commit b022158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/flyout/flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export const EuiFlyout = forwardRef(
let flyout = (
<EuiFocusTrap
disabled={isPushed}
scrollLock={ownFocus}
scrollLock={hasOverlayMask}
clickOutsideDisables={!ownFocus}
onClickOutside={onClickOutside}
{...focusTrapProps}
Expand Down

0 comments on commit b022158

Please sign in to comment.