Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix for scroll on autoselect first item
  • Loading branch information
dima committed Oct 3, 2014
commit b34fc5d9c7445abb36918a5eda05770fe21201e8
1 change: 1 addition & 0 deletions src/jquery.autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@
// Select first value by default:
if (options.autoSelectFirst) {
that.selectedIndex = 0;
container.scrollTop(0);
container.children().first().addClass(classSelected);
}

Expand Down