ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.3k stars 1.36k forks source link

🐛[BUG] slider 设置width 不生效问题 #8406

Open Looyank opened 5 months ago

Looyank commented 5 months ago

🐛 bug 描述

<ProFormSlider name="slider" width="md" /> width 不会生效,调试看了下没有加类名“pro-field-md” 不知道是不是 slider 组件源码设置了 fieldConfig:{ignoreWidth: true} 有关系

acanimal commented 2 months ago

Same here. I need to set filedConfig={{ ignoreWidth: false }} to make width work