
In firefox if the keydown event overrides the default behaviour, when the enter key is pressed, the autocomplete will not work. This commit changes the event listener to use keyup instead of keydown to allow for firefox autocomplete to work correctly. Bug: Issue 6083 Change-Id: I6a91631166c0d21b92079af36f976b010c0244fd