Skip to content

Commit

Permalink
rebuilding Dist
Browse files Browse the repository at this point in the history
  • Loading branch information
risadams committed Jan 6, 2023
1 parent 0f3a12b commit 6ebb3bb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion dist/js/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,7 @@ $.extend(Selectize.prototype, {
self.refreshState();
self.$dropdown.css({ visibility: 'hidden', display: 'block' });
self.setupDropdownHeight();
self.positionDropdown();
self.$dropdown.css({visibility: 'visible'});
self.trigger('dropdown_open', self.$dropdown);
},
Expand Down Expand Up @@ -3000,7 +3001,7 @@ Selectize.define("auto_position", function () {
controlPosBottom - dropdownHeight - wrapperHeight >= 0 ?
POSITION.top :
POSITION.bottom;
const w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
let w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
const styles = {
width: w,
minWidth : $control.outerWidth(true),
Expand Down
2 changes: 1 addition & 1 deletion dist/js/selectize.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/static/js/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,7 @@ $.extend(Selectize.prototype, {
self.refreshState();
self.$dropdown.css({ visibility: 'hidden', display: 'block' });
self.setupDropdownHeight();
self.positionDropdown();
self.$dropdown.css({visibility: 'visible'});
self.trigger('dropdown_open', self.$dropdown);
},
Expand Down Expand Up @@ -3000,7 +3001,7 @@ Selectize.define("auto_position", function () {
controlPosBottom - dropdownHeight - wrapperHeight >= 0 ?
POSITION.top :
POSITION.bottom;
const w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
let w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
const styles = {
width: w,
minWidth : $control.outerWidth(true),
Expand Down
2 changes: 1 addition & 1 deletion docs/static/js/selectize.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ebb3bb

Please sign in to comment.