Skip to content

Commit

Permalink
Fixed #7170 - Calendar doesn't clean up modality
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Feb 28, 2019
1 parent 405da24 commit f906545
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,10 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor {

hideOverlay() {
this.overlayVisible = false;

if (this.touchUI) {
this.disableModality();
}
}

onOverlayAnimationStart(event: AnimationEvent) {
Expand Down

0 comments on commit f906545

Please sign in to comment.