material icon indicating copy to clipboard operation
material copied to clipboard

md-autocomplete: md-no-cache causes problems when md-items promise resolves immediately

Open webley opened this issue 11 years ago • 1 comments

I've got an md-autocomplete that has md-no-cache turned on. If the md-items promise resolves immediately, trying to select an item with the mouse fails, but selecting with the keyboard works. Resolving the promise inside a $timeout fixes it. Only a very minor issue but unusual.

Codepen at http://codepen.io/davidwolsey/pen/eNvLQb

webley avatar Jun 04 '15 11:06 webley

+1

gustavoaalves avatar Jul 13 '15 03:07 gustavoaalves