ant-design / ant-design/pro-components
🐛[BUG] slider 设置width 不生效问题
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
``````
width 不会生效,调试看了下没有加类名“pro-field-md”
不知道是不是 slider 组件源码设置了 fieldConfig:{ignoreWidth: true} 有关系
Contributor guide
Research direction
Start by inspecting the ProFormSlider component source and how its fieldConfig is set, focusing on the suspected ignoreWidth: true option. Confirm the behavior with and consider the issue done when the pro-field-md class is applied and the width takes effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100