Skip to content

Commit 2eaad16

Browse files
authored
fix(defaultConfigProvider): add getPopupContainer (#6425), close #6419
1 parent 58998c4 commit 2eaad16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/config-provider/context.ts

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export const defaultConfigProvider: ConfigProviderInnerProps = {
154154
return suffixCls ? `ant-${suffixCls}` : 'ant';
155155
},
156156
iconPrefixCls: computed(() => defaultIconPrefixCls),
157+
getPopupContainer: computed(() => () => document.body),
157158
};
158159

159160
export const useConfigContextInject = () => {

0 commit comments

Comments
 (0)