We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f774d0 commit 6f854a1Copy full SHA for 6f854a1
packages/multiple-select-vanilla/src/MultipleSelectInstance.ts
@@ -764,10 +764,10 @@ export class MultipleSelectInstance {
764
if (window.getComputedStyle) {
765
computedWidth = window.getComputedStyle(this.elm).width;
766
if (computedWidth === 'auto') {
767
- computedWidth = getElementSize(this.dropElm, 'outer', 'width') + 15;
+ computedWidth = getElementSize(this.dropElm, 'outer', 'width') + 20;
768
}
769
} else {
770
- computedWidth = getElementSize(this.elm, 'outer', 'width') + 15;
+ computedWidth = getElementSize(this.elm, 'outer', 'width') + 20;
771
772
773
this.parentElm.style.width = `${this.options.width || computedWidth}px`;
0 commit comments