rails/prototype-rails — pull request #25 by prowler (2013-07-26 14:56:20+00:00)
Title: Ajax.Autocompleter: page jumps up/down when using arrow keys

When using the up and down arrow keys the page is scrolled repeatedly.
This fix checks if autocomplete selection is in browser viewport and
scrolls page only needed.