Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Dropdown DatePicker TimePicker Popover Popconfirm 等组件使用getPopupContainer不方便 #15918

Closed
1 task
iwangx opened this issue Apr 8, 2019 · 1 comment
Assignees

Comments

@iwangx
Copy link

iwangx commented Apr 8, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

一般我们的后台管理系统都是采用Layout布局生成的,这样就意味着其实getPopupContainer的节点其实都会是同一个,所以如果在使用每个Select Dropdown DatePicker TimePicker Popover Popconfirm的时候都要增加一个getPopupContainer参数会让整个应用变得很复杂,所以能不能跟主题的配置一样增加一些通用的配置在初始化的时候?

What does the proposed API look like?

可能类似于LocaleProvider这样的一个全局配置,直接传入参数即可

@iwangx iwangx changed the title Select Dropdown DatePicker TimePicker Popover Popconfirm 等组件使用getPopupContainer不方面 Select Dropdown DatePicker TimePicker Popover Popconfirm 等组件使用getPopupContainer不方便 Apr 8, 2019
@zombieJ
Copy link
Member

zombieJ commented Apr 9, 2019

https://ant.design/components/config-provider-cn/#header

An enterprise-class UI design language and React-based implementation with a set of high-quality React components, one of best React UI library for enterprises

@zombieJ zombieJ closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants