From c31fd65586931b64d25d16306c778070e11bab9f Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 12:08:52 +0200 Subject: [PATCH 1/5] Fix missing style for dropdown_header plugin --- src/plugins/dropdown_header/plugin.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/dropdown_header/plugin.scss b/src/plugins/dropdown_header/plugin.scss index 57bb27bc2..67ec274e3 100644 --- a/src/plugins/dropdown_header/plugin.scss +++ b/src/plugins/dropdown_header/plugin.scss @@ -1,5 +1,5 @@ .#{$selectize}-control { - .dropdown-header { + .#{$selectize}-dropdown-header { position: relative; padding: ($select-padding-dropdown-item-y * 2) $select-padding-dropdown-item-x; @@ -7,7 +7,7 @@ background: mix($select-color-dropdown, $select-color-border, 85%); border-radius: $select-border-radius $select-border-radius 0 0; } - .dropdown-header-close { + .#{$selectize}-dropdown-header-close { position: absolute; right: $select-padding-dropdown-item-x; top: 50%; @@ -17,7 +17,7 @@ line-height: 20px; font-size: 20px !important; } - .dropdown-header-close:hover { + .#{$selectize}-dropdown-header-close:hover { color: darken($select-color-text, 25%); } } From 4afaa6ae65497b77b653e12f12ba5b7e85dc73b8 Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 12:09:05 +0200 Subject: [PATCH 2/5] Update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3e862e91..65ad79f28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ +## v0.13.7 · + +* Fixed missing style for dropdown_header plugin + + *@fabienwnkl* ## v0.13.0 · 03 11 2020 From 3cf7492535c0a4069361e1bf66dee8e57a0b45df Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 14:26:31 +0200 Subject: [PATCH 3/5] 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; }, From 7190fd1eb7a2840841836d0d98561770d0378c79 Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 14:29:36 +0200 Subject: [PATCH 4/5] Update changelog --- CHANGELOG.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ad79f28..099ecbbfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,8 @@ your privacy needs --> ## v0.13.7 · -* Fixed missing style for dropdown_header plugin - - *@fabienwnkl* +* 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* ## v0.13.0 · 03 11 2020 From 1277e4a2311b653317108ba437f9e78206ae6faa Mon Sep 17 00:00:00 2001 From: WINKLER Fabien Date: Thu, 15 Sep 2022 14:32:00 +0200 Subject: [PATCH 5/5] Update changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c0eb31f0..31bc51949 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ your privacy needs --> ## v0.13.7 · -* 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* +* 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) ## v0.13.0 · 03 11 2020