ant-design / ant-design/pro-components

🐛[BUG]filter dropdown not close

Open
#7,492 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 描述

表格的筛选框打开后点击空白处不关闭,或者需要点击很多次才可能关闭

### 📷 复现步骤

### 🏞 期望结果

表格的筛选框打开后点击空白处立即关闭

### 💻 复现代码
https://codesandbox.io/s/zzvjtm?file=/package.json
### © 版本信息

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

### 🚑 其他信息
![image](https://github.com/ant-design/pro-components/assets/26474133/fcbc37bc-a7c6-4d56-bd11-fd8aba5b2ec6)

Contributor guide

Open the contributing guide

Research direction

Start by running the linked CodeSandbox reproduction in Chrome and verify the table filter dropdown behavior. Trace the related ProComponents table filter code from the reproduction; the issue is done when clicking blank space closes the open filter immediately and repeated clicks are no longer needed.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.