-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] ⚠️LoginForm
的 subTitle
的颜色在开启 cssVar
功能时,在算法切换过后就回不来了
#8077
Comments
其实 |
是不是因为hash没开?或者你需要重现渲染一下 ProForm |
根据描述,这个问题可能是由于开启了
总结:根据描述,这个问题可能是由于开启了 |
|
🐛 bug 描述
如题,非常简洁明了的BUG
我不知道是procomponents的问题还是5.0 cssVar的问题。 因为我刚才提交了一个cssVar的Bug🤣 但这个问题我只在LoginForm里出现了我就提到这来了。
反正


cssVar
开启之后, 没切换算法前一切正常:切换之后就会多出一个类名:
然后再怎么切这个类名也不会消失了,颜色就回不去了。
没有开启
cssVar
时, 切换之后这个多出来的类名会消失。 我感觉是这里的问题我甚至不知道这个和antd是不是一个团队🤣 求告知
📷 复现步骤
单击按钮切换算法
https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-rdppc6?file=%2Findex.js%3A20%2C26
CodeSandbox慢死了。。 我得在stackblitz建个自己的模板
🏞 期望结果
颜色应该会回来
💻 复现代码
如上
© 版本信息
The text was updated successfully, but these errors were encountered: