Close "language select" dialog on backdrop click and "esc" press

This commit is contained in:
schroda
2024-11-28 12:36:39 +01:00
parent 069aa26a0f
commit c6f7ebd7c2

View File

@@ -92,6 +92,7 @@ export function LangSelect(props: IProps) {
}}
maxWidth="xs"
open={open}
onClose={handleCancel}
>
<DialogTitle>{t('global.language.title.enabled_languages')}</DialogTitle>
<DialogContent dividers sx={{ padding: 0 }}>