diff --git a/packages/layout/src/components/SiderMenu/index.tsx b/packages/layout/src/components/SiderMenu/index.tsx index 370f2e0d9f6b..bc5a831d5e69 100644 --- a/packages/layout/src/components/SiderMenu/index.tsx +++ b/packages/layout/src/components/SiderMenu/index.tsx @@ -19,7 +19,6 @@ const SiderMenuWrapper: React.FC = ( style, className, hide, - getContainer = false, prefixCls, } = props; @@ -66,7 +65,6 @@ const SiderMenuWrapper: React.FC = ( }} maskClosable closable={false} - getContainer={getContainer} width={siderWidth} bodyStyle={{ height: '100vh', diff --git a/tests/layout/__snapshots__/mobile.test.tsx.snap b/tests/layout/__snapshots__/mobile.test.tsx.snap index 2018f773d201..a5b54122ed39 100644 --- a/tests/layout/__snapshots__/mobile.test.tsx.snap +++ b/tests/layout/__snapshots__/mobile.test.tsx.snap @@ -205,153 +205,6 @@ exports[`mobile BasicLayout 📱 collapsed=false 1`] = ` class="ant-layout ant-layout-has-sider" style="min-height: 100%; flex-direction: row;" > -
-
-