Skip to content

Commit a359263

Browse files
committed
chore(*): fix failing tests
1 parent 9066dee commit a359263

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/igniteui-angular/src/lib/toast/toast.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,14 @@ export class IgxToastComponent extends IgxNotificationsDirective implements OnIn
166166
this._positionSettings = settings;
167167
}
168168

169+
private _position: IgxToastPosition = 'bottom';
170+
169171
private _positionSettings: PositionSettings = {
170172
horizontalDirection: HorizontalAlignment.Center,
171-
verticalDirection: this.calculatePosition(),
173+
verticalDirection: VerticalAlignment.Bottom,
172174
openAnimation: useAnimation(fadeIn),
173175
closeAnimation: useAnimation(fadeOut),
174176
};
175-
private _position: IgxToastPosition = 'bottom';
176177

177178
/**
178179
* Gets the nativeElement of the toast.

0 commit comments

Comments
 (0)