We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cfafb7 commit 0f3a12bCopy full SHA for 0f3a12b
src/plugins/auto_position/plugin.js
@@ -21,7 +21,7 @@ Selectize.define("auto_position", function () {
21
controlPosBottom - dropdownHeight - wrapperHeight >= 0 ?
22
POSITION.top :
23
POSITION.bottom;
24
- 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';
25
const styles = {
26
width: w,
27
minWidth : $control.outerWidth(true),
0 commit comments