From 3cf7492535c0a4069361e1bf66dee8e57a0b45df Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 14:26:31 +0200 Subject: [PATCH] Fix #1818 scroll left when click on selectized item --- src/selectize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selectize.js b/src/selectize.js index 428d87d2b..894efe682 100644 --- a/src/selectize.js +++ b/src/selectize.js @@ -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; },