From 873b079e8c57fc139366d6ab57d9070abd81865a Mon Sep 17 00:00:00 2001 From: Juraj Kapsiar Date: Mon, 20 Nov 2023 10:16:36 +0100 Subject: [PATCH] Remove CSS containment from DialogSurface (#29878) * Remove CSS containment from DialogSurface * change --------- Co-authored-by: Juraj Kapsiar --- ...-react-dialog-19516eda-a3c6-4fcf-8690-2a34dad5f873.json | 7 +++++++ .../DialogSurface/useDialogSurfaceStyles.styles.ts | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 change/@fluentui-react-dialog-19516eda-a3c6-4fcf-8690-2a34dad5f873.json diff --git a/change/@fluentui-react-dialog-19516eda-a3c6-4fcf-8690-2a34dad5f873.json b/change/@fluentui-react-dialog-19516eda-a3c6-4fcf-8690-2a34dad5f873.json new file mode 100644 index 00000000000000..0ad760f2e3147c --- /dev/null +++ b/change/@fluentui-react-dialog-19516eda-a3c6-4fcf-8690-2a34dad5f873.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Remove CSS containment from DialogSurface", + "packageName": "@fluentui/react-dialog", + "email": "jurokapsiar@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-dialog/src/components/DialogSurface/useDialogSurfaceStyles.styles.ts b/packages/react-components/react-dialog/src/components/DialogSurface/useDialogSurfaceStyles.styles.ts index 39c541daba93d8..9afdc8b49ddee4 100644 --- a/packages/react-components/react-dialog/src/components/DialogSurface/useDialogSurfaceStyles.styles.ts +++ b/packages/react-components/react-dialog/src/components/DialogSurface/useDialogSurfaceStyles.styles.ts @@ -24,7 +24,6 @@ const useRootBaseStyle = makeResetStyles({ ...shorthands.border(SURFACE_BORDER_WIDTH, 'solid', tokens.colorTransparentStroke), ...shorthands.borderRadius(tokens.borderRadiusXLarge), - contain: 'content', display: 'block', userSelect: 'unset', visibility: 'unset',