Position the Blazor Dialog in center of the page on scrolling
2 Aug 20212 minutes to read
By default, when you scroll the page/container, Dialog will also scroll along with the page/container. To display the Dialog in the same position without scrolling, refer to the following code sample. Here added
e-fixed class to Dialog element by using
CssClass property and prevent the scrolling.