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

发现一个transfer的小bug #1587

Closed
windyyou opened this issue May 6, 2016 · 1 comment
Closed

发现一个transfer的小bug #1587

windyyou opened this issue May 6, 2016 · 1 comment
Assignees

Comments

@windyyou
Copy link

windyyou commented May 6, 2016

What you did

使用transfer的最后一个带有刷新按钮的组件

选中其中几个,然后点击刷新

What you would like to happen

已选中的消失数据,应该去除勾选

What actually happened

由于数据的变化,原来选中的选项已经没有了,但是header中还显示已选

点击向右操作文档,报错

Online demo

http://ant.design/components/transfer/

Environment Information

  • The version of antd(0.12.17):
  • Your operating system and it's version(WIN7 64):
  • Your browser and it's version(Firefox 45.0.2):
@RaoHai RaoHai self-assigned this May 6, 2016
RaoHai added a commit to RaoHai/ant-design that referenced this issue May 6, 2016
 + close ant-design#1587
 + 当 Transfer 的 Datasource 变化时,会移除组件的 CheckedKeys 中已不在
 Datasource 中的 key
afc163 pushed a commit that referenced this issue May 6, 2016
*  Transfer Datasource 和 CheckedKeys 逻辑修改

 + close #1587
 + 当 Transfer 的 Datasource 变化时,会移除组件的 CheckedKeys 中已不在
 Datasource 中的 key

* remove leftDataSource and rightDatasource from this.state
@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants