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

antd table filterdropdown visible changed with keyword always trigger pagination onChange -- antd表格添加列搜索属性,用户在搜索panel输入关键字后关闭弹窗会触发分页的onchange函数 #17833

Closed
1 task
RolkerMan opened this issue Jul 24, 2019 · 0 comments · Fixed by #17846
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@RolkerMan
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

The reproduction demo was based on the official demo
https://ant.design/components/table/#components-table-demo-custom-filter-panel
Check on the reproduction link, click on the search button on the right side of the searchable column header, write sth in the input element inside of the dropdown search panel, then click on the other area to close the dropdown search panel.

What is expected?

Expect not to trigger the onChange event of pagination. At least exposed an API for developers to stop this auto-trigger behavior.

What is actually happening?

When you click the search button on the right side of the searchable column header, write sth in the input element inside of the dropdown search panel, then click on the other area to close the dropdown search panel. You'll find the onChange event of pagination was triggered.

Environment Info
antd 3.20.5
React 16.x
System win10
Browser Chrome 75
@RolkerMan RolkerMan changed the title antd table filterdropdown visible changed with keyword always trigger pagination onChange -- antd表格添加列搜索属性,用户添加关键字后关闭弹窗会触发分页的onchange函数 antd table filterdropdown visible changed with keyword always trigger pagination onChange -- antd表格添加列搜索属性,用户在搜索panel输入关键字后关闭弹窗会触发分页的onchange函数 Jul 24, 2019
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants