diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ad79f28..31bc51949 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ your privacy needs --> ## v0.13.7 · -* Fixed missing style for dropdown_header plugin +* Fixed missing style for dropdown_header plugin [*@fabienwnklr*](https://github.com/fabienwnklr) +* Fixed ([#1818](https://github.com/selectize/selectize.js/issues/1818)) Scroll left when I click on a selectized item and page is scrolled right [*@fabienwnklr*](https://github.com/fabienwnklr) - *@fabienwnkl* ## v0.13.0 · 03 11 2020 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; },