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

在使用TreeSelect时,单击Tag的删除按钮时,不希望弹出Option. #10274

Closed
1 task done
xuqiang1227 opened this issue Apr 27, 2018 · 3 comments
Closed
1 task done
Assignees

Comments

@xuqiang1227
Copy link

xuqiang1227 commented Apr 27, 2018

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

Version

3.4.3

Environment

win10、Chrome

Reproduction link

https://ant.design/components/tree-select-cn/#components-tree-select-demo-checkable

Steps to reproduce

TreeSelect组件设置treeCheckable=true时。
选择多个option,然后单击tag上的x删除选择内容。

What is expected?

不要弹出下拉框。

What is actually happening?

弹出option的下拉框。

@ant-design-bot
Copy link
Contributor

Translation of this issue:


When using TreeSelect, when you click the delete button of Tag, you do not want to pop Option.

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

Version

3.4.3

Environment

Win10, Chrome

Reproduction link

[https://ant.design/components/tree-select-cn/#components-tree-select-demo-checkable](https://ant.design/components/tree-select-cn/#components-tree- Select-demo-checkable

Steps to reproduce

When the TreeSelect component sets treeCheckable=true.
Select multiple options and click on the x on tag to delete the selection.

What is expected?

Do not pop up the drop-down box.

What is actually happening?

Popup option drop-down box.

@zombieJ
Copy link
Member

zombieJ commented Apr 27, 2018

Thanks for feedback.

TreeSelect follow the behavior of Select.
It may adjust the logic both of them.

@zombieJ
Copy link
Member

zombieJ commented Apr 28, 2018

Fix rc-tree-select on 1.12.12

@zombieJ zombieJ closed this as completed Apr 28, 2018
vthinkxie pushed a commit to NG-ZORRO/ng-zorro-antd that referenced this issue Oct 18, 2018
…emove (#2290)

* fix(module:select,tree-select): prevent pop the dropdown when click remove

ref:
- ant-design/ant-design#10274
- react-component/select#296
- react-component/tree-select#110

close #2276

* test(module:tree-select): fix test
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…emove (NG-ZORRO#2290)

* fix(module:select,tree-select): prevent pop the dropdown when click remove

ref:
- ant-design/ant-design#10274
- react-component/select#296
- react-component/tree-select#110

close NG-ZORRO#2276

* test(module:tree-select): fix test
Saint-Prince added a commit to Saint-Prince/ng-zorro-antd that referenced this issue Sep 10, 2021
…emove (#2290)

* fix(module:select,tree-select): prevent pop the dropdown when click remove

ref:
- ant-design/ant-design#10274
- react-component/select#296
- react-component/tree-select#110

close #2276

* test(module:tree-select): fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants