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

[全局特性配置] 自定义类前缀, 在根目录ConfigProvider包括后, 子组件如果重新 ReactDOM.render, 则无法共享ConfigProvider配置 #2953

Closed
123GaoLin opened this issue Jun 7, 2024 · 3 comments
Labels
Working as intended The behavior described is the intended behavior; this is not a bug

Comments

@123GaoLin
Copy link

123GaoLin commented Jun 7, 2024

tdesign-react 版本

1.2.3

重现链接

No response

重现步骤

No response

期望结果

1.2.3或之前版本, 只需要ConfigProvider在根目录包裹一次即可, 后续版本, 则不行

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Tasks

Preview Give feedback
No tasks being tracked yet.
Copy link
Contributor

github-actions bot commented Jun 7, 2024

👋 @Gestorz,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Jun 7, 2024

你好 @Gestorz, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@NWYLZW NWYLZW added Working as intended The behavior described is the intended behavior; this is not a bug and removed Need Reproduce labels Jun 7, 2024
@NWYLZW
Copy link
Collaborator

NWYLZW commented Jun 7, 2024

ConfigProvider 通过 react context provider 提供,如果自行通过操作 dom 破坏了组件上下关系时请自行进行数据同步操作

@NWYLZW NWYLZW closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Working as intended The behavior described is the intended behavior; this is not a bug
Projects
None yet
Development

No branches or pull requests

3 participants