Skip to content

Commit

Permalink
Merge pull request #50 from dmitrynop/fix-animation-in-safari
Browse files Browse the repository at this point in the history
Fix animations in Safari (Angular >7.2.4 and 8)
  • Loading branch information
Gbuomprisco committed Aug 29, 2019
2 parents 5a355ef + 11bf086 commit dd5a421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/components/menu/ng2-dropdown-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import { DropdownStateService } from '../../services/dropdown-state.service';
animations: [
trigger('fade', [
state('visible', style(
{display: 'block', opacity: 1, height: '*', width: '*'}
{opacity: 1, height: '*', width: '*'}
)),
state('hidden', style(
{display: 'none', opacity: 0, overflow: 'hidden', height: 0, width: 0}
{opacity: 0, overflow: 'hidden', height: 0, width: 0}
)),
transition('hidden => visible', [
animate('250ms ease-in',
Expand Down

0 comments on commit dd5a421

Please sign in to comment.