This is a migrated thread and some comments may be shown as answers.
Notification Area
1 Answer 20 Views
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 04 Dec 2020, 04:48 PM
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.

1 Answer, 1 is accepted

Sort by
0
Nadezhda Tacheva
Telerik team
answered on 08 Dec 2020, 04:31 PM

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/.

Asked by
George
Top achievements
Rank 1
Answers by
Nadezhda Tacheva
Telerik team
Share this question
or