ant-design / ant-design/pro-components

🐛[BUG] QueryFilter 在宽度不足时的自适应,没有隐藏掉应该隐藏的 包装成组件的 表单项

Open
#8,310 1 comment 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 描述

### 📷 复现步骤
![image](https://github.com/ant-design/pro-components/assets/55881178/de701c52-5d0f-48ad-aef2-e83223197681)
![image](https://github.com/ant-design/pro-components/assets/55881178/6e34f5d4-b14a-43e7-b00a-c462ed4443b8)
![image](https://github.com/ant-design/pro-components/assets/55881178/78ef674e-2aab-4f81-99e5-2032a91a2ea9)
![image](https://github.com/ant-design/pro-components/assets/55881178/70312a1a-dd6e-4168-b76a-6b7a45991737)

少一个类名,直接使用表单项是没问题的,但是包装成组件之后 出现问题

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 2.7.0]
- umi 版本 4.1.9
- 浏览器环境 chrome
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the QueryFilter responsive behavior described in the issue and reproduce the difference between direct form items and items wrapped in a component using the provided screenshots. Inspect the QueryFilter implementation and its handling of wrapped form items; done means items that should be hidden at insufficient width are hidden consistently.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.