Describe the bug
If closable is set, hideAfter setting will be ignored and notifications will never hide. (until manually closed)
this._showNotification({
closable: true,
hideAfter: 5000,
content: 'my message'
});
To Reproduce
https://angular-w5ffsr.stackblitz.io, https://stackblitz.com/edit/angular-w5ffsr?file=app/app.component.ts
Expected behavior
if hideAfter is set notification should hide after specified time.
Browser
Tested in Edge
The behavior is described in the documentation. hideAfter is ignored if closable is true and the notification is hidden only on the close button click.
Oh, I see - sorry. Thanks.