Topic: Toast positionClass: 'md-toast-top-center' not working

allancmello pro asked 5 years ago

The positionClass "md-toast-top-center" not work

The toast isnt show for this option

onSubmit() { const options = { positionClass: 'md-toast-top-center'}; = this.newsForm.value; this.authService.cadNews( response => this.toastr.success('Cadastro realizado com sucesso.', 'ATENÇÃO'), err => this.toastr.error(err.error, 'ATENÇÃO', options) ); }

Whats wrong?

Arkadiusz Idzikowski staff answered 5 years ago

I can't reproduce this problem on my end. The toast is rendered correctly. Could you provide more code or a demo (you can send it to on which I will be able to debug this problem?

Do you use version 7.4.3?

allancmello pro commented 5 years ago

Yes, my version is 7.4.3

I'll be sending the demo to your email.


Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.3
  • Device: All
  • Browser: All
  • OS: Windows
  • Provided sample code: No
  • Provided link: No