We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.10.1
https://tdesign.tencent.com/react/global-configuration?tab=api
使用全局配置 attach
Drawer可挂载到全局配置的节点
Drawer仍然在body上
17.0.1
131.0.6778.86
14.6.1
15.9.0
No response
The text was updated successfully, but these errors were encountered:
👋 @EOMHH,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
因为全局的attach只支持了Dialog、ImageViewer和Popup,至于Plugin的用法那就是另一个故事了。。。 @HaixingOoO 大佬看看,useAttach是不是在Portal里面调的话更通用一些。
Dialog
ImageViewer
Popup
useAttach
Portal
当时和@HaixingOoO @NWYLZW 讨论的是根据业务需求优先支持业务需要且改动小的组件,其他组件有全局attach的需求也可以实现
drawer会支持attach的全局配置,messagePlugin涉及改动较大,后续再讨论支持
support drawer global attach config 1.10.2
No branches or pull requests
tdesign-react 版本
1.10.1
重现链接
https://tdesign.tencent.com/react/global-configuration?tab=api
重现步骤
使用全局配置 attach
期望结果
Drawer可挂载到全局配置的节点
实际结果
Drawer仍然在body上
框架版本
17.0.1
浏览器版本
131.0.6778.86
系统版本
14.6.1
Node版本
15.9.0
补充说明
No response
The text was updated successfully, but these errors were encountered: