darylrowland / angucomplete

AngularJS Autocomplete Directive
511 stars 281 forks source link

Listen for keydown instead of keyup on non-character keys #41

Closed tsprlng closed 6 years ago

tsprlng commented 10 years ago

This means that preventDefault() works usefully to stop a surrounding form from submitting before selection is completed.

Also includes some more subjective style improvements...

SamJacobs commented 9 years ago

This change will also keep the caret from moving to the left when the up arrow is pressed in navigating results.

+1

tsprlng commented 6 years ago

Closing this to get it off my list