Skip to content

Commit

Permalink
Refactor #10922
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Dec 7, 2021
1 parent 302cb38 commit 022e574
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor {
this.isMonthNavigate = false;
}
else {
this.initFocusableCell();
if (!this.focus) {
this.initFocusableCell();
}
}
}
};
Expand Down Expand Up @@ -2339,6 +2341,7 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor {
this.overlay = event.element;
this.overlay.setAttribute(this.attributeSelector, '');
this.appendOverlay();
this.updateFocus();
if (this.autoZIndex) {
if (this.touchUI)
ZIndexUtils.set('modal', this.overlay, this.baseZIndex || this.config.zIndex.modal);
Expand Down

0 comments on commit 022e574

Please sign in to comment.