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

🐛[BUG] procomponents 样式错误 #7786

Open
CSpy163 opened this issue Oct 17, 2023 · 1 comment
Open

🐛[BUG] procomponents 样式错误 #7786

CSpy163 opened this issue Oct 17, 2023 · 1 comment

Comments

@CSpy163
Copy link

CSpy163 commented Oct 17, 2023

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

使用最新版next.js 13.5.5 + Antd 5.10.1 + Procomponents 2.6.30时,antd设置的自定义主题样式错误。我在Antd中开启了ssr StyledComponentsRegistry,初始化的样式是对的,但是点击输入框之后,会丢失自定义样式。(在我自己的项目里面,看到protable的搜索按钮样式为默认样式,好像没有获取到我的自定义样式配置)还有Procomponents 文档中好像没怎么提到自定义样式?

📷 复现步骤

启动项目,点击输入框,发现输入框变回默认样式了

🏞 期望结果

输入框的样式跟自定义样式一致

💻 复现代码

https://github.com/CSpy163/test-ssr

© 版本信息

  • ProComponents 版本: 2.6.30
  • umi 版本: 非umi
  • 浏览器环境 chrome 117
  • 开发环境 windows11

🚑 其他信息

image
image

@github-actions
Copy link

以下的 Issues 可能会帮助到你 / The following issues may help you

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

1 participant