remove shrinking animation on choice remove because it causes jitter. fixes #326
This commit is contained in:
parent
8bab0b6f70
commit
cf01ec6cb5
@ -2032,7 +2032,7 @@
|
|||||||
.bind("click dblclick", this.bind(function (e) {
|
.bind("click dblclick", this.bind(function (e) {
|
||||||
if (!this.enabled) return;
|
if (!this.enabled) return;
|
||||||
|
|
||||||
$(e.target).closest(".select2-search-choice").fadeOut('fast').animate({width: "hide"}, 50, this.bind(function(){
|
$(e.target).closest(".select2-search-choice").fadeOut('fast', this.bind(function(){
|
||||||
this.unselect($(e.target));
|
this.unselect($(e.target));
|
||||||
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
||||||
this.close();
|
this.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user