Revert "Fixed #2212 - Inline calendar adds autofocus"

This reverts commit 19552c351a.
pull/2213/head
yigitfindikli 2022-02-24 13:50:08 +03:00
parent 19552c351a
commit 6f16614948
1 changed files with 2 additions and 0 deletions

View File

@ -325,6 +325,8 @@ export default {
this.overlay && this.overlay.setAttribute(this.attributeSelector, ''); this.overlay && this.overlay.setAttribute(this.attributeSelector, '');
if (!this.$attrs.disabled) { if (!this.$attrs.disabled) {
this.initFocusableCell();
if (this.numberOfMonths === 1) { if (this.numberOfMonths === 1) {
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px'; this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
} }