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

autocomplete will ignore enter key event when using textarea #3340

Closed
tangjwtj opened this issue Apr 23, 2019 · 0 comments
Closed

autocomplete will ignore enter key event when using textarea #3340

tangjwtj opened this issue Apr 23, 2019 · 0 comments
Assignees
Labels
🐛 Bug Component: AutoComplete Good First Issue Issues recommended for first-time contributor

Comments

@tangjwtj
Copy link

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-bxxzqp

Steps to reproduce

  1. input aaaa
  2. press enter key

What is expected?

Can wrap

What is actually happening?

Press enter key event is ignored.

Environment Info
ng-zorro-antd 7.3.2
Browser chrome

I want use autocomplete in textarea, in order to implement simple code hints.

@hsuanxyz hsuanxyz added 🐛 Bug Good First Issue Issues recommended for first-time contributor labels Apr 23, 2019
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Apr 23, 2019
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
…when the panel is closed (NG-ZORRO#3342)

* fix(module:auto-complete): enter-keydown event should not be prevent when the panel is closed

close NG-ZORRO#3340

* chore(module:auto-complete): clean code
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…when the panel is closed (NG-ZORRO#3342)

* fix(module:auto-complete): enter-keydown event should not be prevent when the panel is closed

close NG-ZORRO#3340

* chore(module:auto-complete): clean code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Component: AutoComplete Good First Issue Issues recommended for first-time contributor
Projects
None yet
Development

No branches or pull requests

2 participants