Skip to content

Commit

Permalink
fix(Dialog): Set disableEnforceFocus to true
Browse files Browse the repository at this point in the history
to be able to select items in a BottomSheet inside a Dialog, for a11y
  • Loading branch information
JF-Cozy committed Apr 18, 2024
1 parent 20a0030 commit 969c848
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions react/Dialog/index.jsx
Expand Up @@ -11,6 +11,11 @@ const Dialog = props => {

return <MUIDialog className={`CozyTheme--${type}-${variant}`} {...props} />
}

Dialog.defaultProps = {
disableEnforceFocus: true
}

export default Dialog

export { default as DialogActions } from './DialogActions'
Expand Down

0 comments on commit 969c848

Please sign in to comment.