Skip to content

Commit b915443

Browse files
authored
Merge pull request #1865 from fabienwnklr/master
Fix #1818 Scroll left when I click on a selectized item and page is scrolled right
2 parents dc1efe9 + 1277e4a commit b915443

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
your privacy needs -->
33
## v0.13.7 ·
44

5-
* Fixed missing style for dropdown_header plugin
5+
* Fixed missing style for dropdown_header plugin [*@fabienwnklr*](https://github.com/fabienwnklr)
6+
* 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)
67

7-
*@fabienwnkl*
88

99
## v0.13.0 · 03 11 2020
1010

src/selectize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ $.extend(Selectize.prototype, {
984984
var self = this;
985985

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

0 commit comments

Comments
 (0)