Skip to content

Commit

Permalink
select2#1513: don't scroll to first selection on select/unselect
Browse files Browse the repository at this point in the history
Resolves issue for multiselects using `closeOnSelect: false` that caused the list of results to scroll to the first selection after each select/unselect
  • Loading branch information
MicahBrown committed Apr 11, 2017
1 parent c155ca5 commit 4d9de44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/select2/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ define([
// in the dropdown
$options.first().trigger('mouseenter');
}

this.ensureHighlightVisible();
};

Results.prototype.setClasses = function () {
Expand Down

0 comments on commit 4d9de44

Please sign in to comment.