Merge pull request #5300 from DamianGlowala/fix/inline-calendar-fixed-width

fix(Calendar): when inline, do not apply fixed width to overlay
pull/5482/head
Tuğçe Küçükoğlu 2024-03-25 12:47:14 +03:00 committed by GitHub
commit c6237f4f04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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);