ant-design / ant-design/pro-components

🐛[BUG] Protable组件的search span属性,断点逻辑不预期不一致

Open
#9,131 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

umimax配置文件设置theme属性中的 screenXL和screenXXL

![Image](https://github.com/user-attachments/assets/7ebd7103-5466-4f4b-b6f5-2fc1da015fee)
对protable search 属性span不生效

![Image](https://github.com/user-attachments/assets/e0deac95-8017-47fe-96a4-9fbd42a51410)

注:span的断点尺寸和ant官网格栅定义的尺寸对不上

### 📷 复现步骤

### 🏞 期望结果

span断点尺寸能按照ant定义的来,或者允许自定义覆盖

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [^2.4.16]
- umi 版本 ^4.0.68
- 浏览器环境 edge 版本 137.0.3296.68 (正式版本) (64 位)
- 开发环境 windows
### 🚑 其他信息

![Image](https://github.com/user-attachments/assets/e2c2b0ca-982e-4573-a63f-1f113d1f4058)

Contributor guide

Open the contributing guide

Research direction

Start by locating ProTable's search span responsive breakpoint handling and compare its breakpoint sizes with Ant Design's grid definitions. Reproduce the issue using the reported umi and ProComponents versions with custom screenXL and screenXXL values; done means the configured breakpoints are respected or a clear customization path is available.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.