From 2eaad163314bd22e168178e47e45e949ef47c058 Mon Sep 17 00:00:00 2001 From: Cherry7 <79909910+CCherry07@users.noreply.github.com> Date: Thu, 6 Apr 2023 15:56:58 +0800 Subject: [PATCH] fix(defaultConfigProvider): add getPopupContainer (#6425), close #6419 --- components/config-provider/context.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components/config-provider/context.ts b/components/config-provider/context.ts index ba314c7b2..aa2626673 100644 --- a/components/config-provider/context.ts +++ b/components/config-provider/context.ts @@ -154,6 +154,7 @@ export const defaultConfigProvider: ConfigProviderInnerProps = { return suffixCls ? `ant-${suffixCls}` : 'ant'; }, iconPrefixCls: computed(() => defaultIconPrefixCls), + getPopupContainer: computed(() => () => document.body), }; export const useConfigContextInject = () => {