Merge pull request #5300 from DamianGlowala/fix/inline-calendar-fixed-width
fix(Calendar): when inline, do not apply fixed width to overlaypull/5482/head
commit
c6237f4f04
|
@ -621,10 +621,6 @@ export default {
|
||||||
if (!this.disabled) {
|
if (!this.disabled) {
|
||||||
this.preventFocus = true;
|
this.preventFocus = true;
|
||||||
this.initFocusableCell();
|
this.initFocusableCell();
|
||||||
|
|
||||||
if (this.numberOfMonths === 1) {
|
|
||||||
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.input.value = this.formatValue(this.modelValue);
|
this.input.value = this.formatValue(this.modelValue);
|
||||||
|
|
Loading…
Reference in New Issue