Notification Area

2 posts, 0 answers
  1. George
    George avatar
    4 posts
    Member since:
    Mar 2016

    Posted 04 Dec 2020 Link to this post

    I would be nice if the Notification component would just render in the location where it was put by default.  Very strange that it doesn't.
  2. Nadezhda Tacheva
    Admin
    Nadezhda Tacheva avatar
    42 posts

    Posted 08 Dec 2020 Link to this post

    Hi George,

    The Notification component is generally displayed in its place of declaration. However, all the Notifications instances are wrapped in a container and we have styled it to be displayed in a different position for design purposes (it has position: fixed).

    I'm attaching an example project showing that the Notifications position can be modified to appear where it was put by default by setting the container class position to static (see MainLayout.razor file for reference).

    The project is also an example of implementing only one Notification Instance for all Components which can be a very useful approach in certain scenarios.

     

    Regards,
    Nadezhda
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top