Closed nickykapur closed 5 years ago
Is it a css issue or something else?
I am not completely sure. Whenever i do the ng serve option, it works perfectly and nice. Currently I am trying to set the toastr variables as public, as reading on some pages, hopefully that solves it. Because, when trying to build the project and running on real environment the messages of the toastrs are not appearing.
I have the same problem, but for me text is missing also for ng serve. The problem isn't css, because content of notify is emtpy, for example:
<div id="toast-container" class="toast-top-right toast-container">
<div class="ng-tns-c19-6 ng-star-inserted ng-trigger ng-trigger-flyInOut ngx-toastr toast-success" style="opacity: 1;">
<!--container-->
<!--container-->
<!--container-->
<!--container-->
<!--container-->
</div>
</div>
Project uses Angular 9.0.0-next.6
Sounds like an AOT issue
need some way to reproduce
I have the same problem, but for me text is missing also for ng serve. The problem isn't css, because content of notify is emtpy, for example:
<div id="toast-container" class="toast-top-right toast-container"> <div class="ng-tns-c19-6 ng-star-inserted ng-trigger ng-trigger-flyInOut ngx-toastr toast-success" style="opacity: 1;"> <!--container--> <!--container--> <!--container--> <!--container--> <!--container--> </div> </div>
Project uses Angular 9.0.0-next.6
i also have this output using angular 8.3.8 with ivy enabled
EDIT: disabled ivy and aot and it seems to work.
I have been trying to get my application ready for production, and realized my toastrs appearing but not showing the messages in it.