Skip to content

Commit

Permalink
fix(toastr): animations in firefox and edge (#944)
Browse files Browse the repository at this point in the history
Angular animations have a bug. All properties have to be expanded to work properly in firefox and edge.

Closes #865
  • Loading branch information
tibing-old-email authored and nnixaa committed Oct 26, 2018
1 parent 004d8d8 commit 27e4a6a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { takeWhile } from 'rxjs/operators';
const voidState = style({
transform: 'translateX({{ direction }}110%)',
height: 0,
margin: 0,
marginLeft: '0',
marginRight: '0',
marginTop: '0',
marginBottom: '0',
});

const defaultOptions = { params: { direction: '' } };
Expand Down

0 comments on commit 27e4a6a

Please sign in to comment.