Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1818 Scroll left when I click on a selectized item and page is scrolled right #1865

Merged
merged 6 commits into from
Sep 15, 2022
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@
your privacy needs -->
## v0.13.7 ·

* Fixed missing style for dropdown_header plugin
* Fixed missing style for dropdown_header plugin *@fabienwnkl*
* Fixed ([#1818](https://github.com/selectize/selectize.js/issues/1818)) Scroll left when I click on a selectized item and page is scrolled right *@fabienwnkl*

*@fabienwnkl*

## v0.13.0 · 03 11 2020

2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
@@ -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});
risadams marked this conversation as resolved.
Show resolved Hide resolved
self.isInputHidden = true;
},