Skip to content

Commit

Permalink
fix(monthView): make collapse animation smoother
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Aug 14, 2017
1 parent 86ea012 commit 7b52366
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/month/calendarOpenDayEvents.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ import { CalendarEvent } from 'calendar-utils';
animations: [
trigger('collapse', [
transition('void => *', [
style({ height: 0 }),
animate('150ms linear', style({ height: '*' }))
style({ height: 0, overflow: 'hidden' }),
animate('150ms', style({ height: '*' }))
]),
transition('* => void', [
style({ height: '*' }),
animate('150ms linear', style({ height: 0 }))
style({ height: '*', overflow: 'hidden' }),
animate('150ms', style({ height: 0 }))
])
])
]
Expand Down

0 comments on commit 7b52366

Please sign in to comment.