Skip to content

Commit a3e188a

Browse files
committed
Merge pull request select2#1772 from KyKyPy3/master
Fix selection first element from "postprocessResults"
2 parents 51ee7f8 + 9266d7c commit a3e188a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ the specific language governing permissions and limitations under the Apache Lic
14311431

14321432
// abstract
14331433
findHighlightableChoices: function() {
1434-
return this.results.find(".select2-result-selectable:not(.select2-disabled)");
1434+
return this.results.find(".select2-result-selectable:not(.select2-disabled, .select2-selected)");
14351435
},
14361436

14371437
// abstract

0 commit comments

Comments
 (0)