ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
236 stars 59 forks source link

pro-components 里StyleProvider hashPriority='high' 会失效 #98

Closed faner11 closed 11 months ago

faner11 commented 1 year ago

🐛 bug 描述

pro-components 导致 StyleProvider hashPriority='high' 失效,使用tailwindcss后在layout里面的button就有问题,外边的正常

📷 复现步骤

codesandbox

🏞 期望结果

在pro-components 组件内的 样式也正常

💻 复现代码

https://codesandbox.io/p/github/faner11/react-antd/draft/goofy-solomon?file=%2Fsrc%2Fmain.tsx

© 版本信息

image

我在pro-components库提过这个问题,他们给的方案并不能解决问题 https://github.com/ant-design/pro-components/issues/6681