ant-design / ant-design/pro-components
🧐[问题]QueryFilter组件中getSpanConfig函数对于span的计算为什么会改变用户传入的layout
Open
- 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
### 🧐 问题描述
QueryFilter组件中getSpanConfig函数对于span的计算为什么会改变用户传入的layout,当我指定span为响应式配置时,这里就会得到一个硬编码的horizontal,而不是我指定的layout
### 💻 示例代码
### 🚑 其他信息
Contributor guide
Research direction
Start at the QueryFilter component's getSpanConfig function and trace how responsive span configuration is converted into a layout value. Confirm why the user-provided layout becomes horizontal, then ensure the reported responsive-span case preserves the requested layout and verify the behavior with the relevant QueryFilter checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100