Skip to content

Commit

Permalink
improve further the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Sep 7, 2023
1 parent 530cbb7 commit aea2ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-base/src/FocusTrap/FocusTrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function FocusTrap(props: FocusTrapProps): JSX.Element {
return;
}

// The disableEnforceFocus is set and the focus is outside of the focus trap, so do nothing
// The disableEnforceFocus is set and the focus is outside of the focus trap (and sentinel nodes)
if (disableEnforceFocus && nativeEvent !== false) {
return;
}
Expand Down

0 comments on commit aea2ba1

Please sign in to comment.