Skip to content

Commit

Permalink
Fix #1818 scroll left when click on selectized item
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienwnklr committed Sep 15, 2022
1 parent 4afaa6a commit 3cf7492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ $.extend(Selectize.prototype, {
var self = this;

self.setTextboxValue('');
self.$control_input.css({opacity: 0, position: 'absolute', left: self.rtl ? 10000 : -10000});
self.$control_input.css({opacity: 0, position: 'absolute', left: self.rtl ? 10000 : 0});
self.isInputHidden = true;
},

Expand Down

0 comments on commit 3cf7492

Please sign in to comment.