material icon indicating copy to clipboard operation
material copied to clipboard

md-autocomplete: escape behavior in 0.10.1-rc2

Open rscottfree opened this issue 11 years ago • 0 comments

In 0.10.0 and 0.10.1rc1, hitting escape after typing something into the autocomplete box will clear the search text from the box. This has changed in 0.10.1-rc2 and is now broken.

Here is the demo md-autocomplete using rc2.

  1. Type something into the search box that returns results
  2. Hit escape key
  3. Issue 1: The suggestion dropdown will dismiss, but the text that was entered into the search box does not clear and remains unchanged
  4. Issue 2 (because of issue 1 not clearing): Clicking away from the box and back into the box does not display the suggestion dropdown again; you have to start typing or deleting from the search box to get the suggestions to pop up again.

Possibly related to https://github.com/angular/material/issues/3844, but looks like separate issues.

rscottfree avatar Jul 21 '15 20:07 rscottfree