Skip to content

Commit

Permalink
[Dialogs] Remove modal={open} state
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jan 23, 2025
1 parent 140263d commit 9e72f08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/react/src/alert-dialog/popup/AlertDialogPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ const AlertDialogPopup = React.forwardRef(function AlertDialogPopup(
{mounted && modal && <InternalBackdrop inert={!open} />}
<FloatingFocusManager
context={floatingRootContext}
modal={open}
disabled={!mounted}
initialFocus={resolvedInitialFocus}
returnFocus={finalFocus}
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/dialog/popup/DialogPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const DialogPopup = React.forwardRef(function DialogPopup(
{mounted && modal && <InternalBackdrop inert={!open} />}
<FloatingFocusManager
context={floatingRootContext}
modal={open}
disabled={!mounted}
closeOnFocusOut={dismissible}
initialFocus={resolvedInitialFocus}
Expand Down

0 comments on commit 9e72f08

Please sign in to comment.