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

popover组件的getPopupContainer是否支持全局配置 #7781

Closed
1 task done
Reeyc opened this issue Aug 12, 2024 · 3 comments
Closed
1 task done

popover组件的getPopupContainer是否支持全局配置 #7781

Reeyc opened this issue Aug 12, 2024 · 3 comments

Comments

@Reeyc
Copy link

Reeyc commented Aug 12, 2024

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

What problem does this feature solve?

组件在业务中多达上百处地方使用,此前并未封装,如果挨个添加getPopupContainer方案不太现实

What does the proposed API look like?

a-config-provider 的 getPopupContainer属性 貌似只支持Select, Tooltip, Menu弹出框,Popover如何处理

@selicens
Copy link
Member

Popover底层是Tooltip

@Reeyc
Copy link
Author

Reeyc commented Aug 12, 2024

Popover底层是Tooltip

你这回答。。我当然知道,可ToolTip也没法全局配getPopupContainer吧

@de1ck
Copy link

de1ck commented Aug 13, 2024

我看popover也能触发a-config-provide getPopupContainer回调,使用有啥问题吗

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