autocomplete-plus icon indicating copy to clipboard operation
autocomplete-plus copied to clipboard

Suggestion list is not closed after confirm a value

Open abaracedo opened this issue 7 years ago • 0 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    • Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
    • Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    • Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

This bug happens for the autocomplete-html package. For example, in the case you want to add a script tag an use the async attribute and you select it from the list, the list stills displayed and only is hidden after pressing Esc or Space keys.

This also happens for the checked attribute on the input tag.

The error happens for the attributes that are related to the tag. Using async on an input works fine.

Steps to Reproduce

  1. Add a script tag.
  2. Type the first letters of the attribute async.
  3. Select it from the list.
  4. The list still open.

Expected behavior: The list closes after confirm.

Actual behavior: The list does not close.

Reproduces how often: It happens as long as the attribute is related to the tag.

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom:

Atom    : 1.20.1
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm:

apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.13.5

Any additional information, configuration or data that might be necessary to reproduce the issue.

abaracedo avatar Oct 01 '17 20:10 abaracedo