ant-design / ant-design/pro-components
🧐[问题 | question] antd v5, ProTable设置search={{ filterType: 'light'}}后, 查询区域的宽度变为50%, v4的时候是100%, 怎么设置为100%
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述 | Problem description
antd v5, ProTable设置search={{ filterType: 'light'}}后, 查询区域的宽度变为50%, v4的时候是100%, 怎么设置为100%
### 💻 示例代码 | Sample code
https://github.com/21pages/umimax-antdpro-dark-theme-loading-transition-whitescreen-splash
### 🚑 其他信息 | Other information

OS: windows 11
Node:v18.16.0
浏览器 | browser:chrome 120.0.6099.110
Contributor guide
Research direction
Start with the linked reproduction at 21pages/umimax-antdpro-dark-theme-loading-transition-whitescreen-splash and inspect ProTable's search configuration for filterType: 'light'. Compare the v5 behavior with v4 and verify how the query area width is determined. Done means establishing whether a supported setting restores 100% width and confirming it in the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100