Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table expandedRow 在开启 expandRowByClick 的时候无法通过图标收起 #20802

Closed
1 task
jinliming2 opened this issue Jan 9, 2020 · 0 comments · Fixed by #20808
Closed
1 task

Table expandedRow 在开启 expandRowByClick 的时候无法通过图标收起 #20802

jinliming2 opened this issue Jan 9, 2020 · 0 comments · Fixed by #20808
Assignees
Labels
4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@jinliming2
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Table 组件添加 expandedRowRender 和 expandRowByClick 属性
  2. 点击前方 ⊞ 图标展开表项
  3. 点击前方 ⊟ 图标收起表项

What is expected?

第 3 步,表项可以成功收起

What is actually happening?

第3步,表项无法收起,只能通过点击这一行其他地方收起。

Environment Info
antd 4.0.0-rc.0
React latest
System Mac OS X 10.15.1
Browser Chrome Canary 81.0.4020.0

Antd 3 貌似正常

@zombieJ zombieJ self-assigned this Jan 9, 2020
@zombieJ zombieJ added 4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it labels Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants