Toastr doesn't appear
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Current behavior:
First, you go to the dashboard page that includes some codes to show toastr on AfterViewInit. It will show toastr. And then you go to login page(because of logout), when you try to open again the dashboard, it doesn’t appear. The global overlay wrapper that contains nb-toastr-container is not in the login page. so, whenever you get the dashboard again(right after opening one of auth page) angular will re-render layouts and components you made but toastr seems still holding destroyed nb-toastr-container and it’s not re-rendered.
Expected behavior:
Showing toastr
Steps to reproduce:
with ngx-admin
- add toastr call on dashboard.
- open dashboard.
- go to one of auth page.
- back to dashboard
- toastr doesn’t appear
Other information:
npm, node, OS, Browser
node: v10.13.0
npm: v6.4.1
Tested OS: Mac Mojave, Windows 10
Tested Browser: Chrome/Safari/Edge
Angular, Nebular
it's the same as the files in ngx-admin
feature request is there any way to place toast component manually? if a page I made is not in layout(but it imports theme module like auth page), there is no way to use toastr. sometimes we need full screen page with using toastr this way.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:8 (1 by maintainers)
Top GitHub Comments
I still have the same issue. When I navigate from auth module to main module toastr doesn’t appear. (version 4.5.0)
Same problem with v 5.0.0