https://blazorrepl.telerik.com/cGEHOxYU12TavfAP41
Dialog component does not recalculate its z-index based on the existing window components. Thus, it is displayed behind the window.
Hi!
Please check the example:
https://blazorrepl.telerik.com/mdaIltlV32cFnMiX42
Why is predefined dialog put in to the back? This happens when i show predefined dialog from OnInitialize or AfterRendered method.
Regards, Boštjan
I am testing with a Blazor WASM Standalone app that uses Telerik UI for Blazor. I have a sample page with a button on click of which a predefined dialog (for example, alert) is shown. If you make some change on the page and hot reload is enabled, the button click no longer opens the predefined dialog. The dialog is shown only if I navigate to a different page.
I have a Modal Window showing and then show a Predefined Dialog alert. You can click on the modal window and the Alert dialog goes behind and you have to close the modal, then close the alert dialog.
It would be nice if the the predefined dialogs were always modal on top of all windows.
Currently using VisibleChanged event, I can tell when a dialog is closed. However, if you have a component inside the dialog and trying to reference that component before the dialog is fully rendered you get a null reference exception.
What I am proposing is adding a new event or extending VisibleChanged so that we know when the dialog has been initialized.