# Radzen Dialog Bug

**URL:** <https://forum.radzen.com/t/radzen-dialog-bug/12094>\
**Category:** Radzen.Blazor Components\
**Created:** [October 27, 2022, 4:18pm UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094 "2022-10-27T16:18:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnC](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@JohnC](https://forum.radzen.com/u/JohnC)\
**Post date:** [October 27, 2022, 4:18pm UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/1 "2022-10-27T16:18:43Z")

</div>

The 4.1.15 version seems to have introduced a bug with the Radzen dialog. It appears to be related to Z position. Top image is 4.1.14 and bottom is 4.1.15.

 ![image](https://forum.radzen.com/uploads/default/original/2X/1/19706757d253f89e941529e14b376db7d9a3105c.png)

 ![image](https://forum.radzen.com/uploads/default/original/2X/6/6309ffdc681f73e80e21d753d3043e59c7026c64.png)

And the code:

```auto
bool? result = await dialogService.OpenAsync<AnnouncementDialog>(announcementID > 0 ? "View Announcement" : "Add Announcement",
            new Dictionary<string, object>() { { "announcementID", announcementID } },
            new DialogOptions() { Width = "420px", Resizable = false, Draggable = true });

```

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 27, 2022, 4:19pm UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/2 "2022-10-27T16:19:44Z")

</div>

It seems that you are using old version of the theme css.

---

<div class="post-metadata">

**Author:** ![JohnC](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@JohnC](https://forum.radzen.com/u/JohnC)\
**Post date:** [October 27, 2022, 10:23pm UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/3 "2022-10-27T22:23:45Z")

</div>

I am using a SASS file built one so I can change the colors and such. Is there an updated version of the SASS file project?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 28, 2022, 3:10am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/4 "2022-10-28T03:10:01Z")

</div>

The latest version of our themes are here:

> **[radzen-blazor/Radzen.Blazor/themes at master · radzenhq/radzen-blazor](https://github.com/radzenhq/radzen-blazor/tree/master/Radzen.Blazor/themes)**
>
> master/Radzen.Blazor/themes

---

<div class="post-metadata">

**Author:** ![kirank](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/a87d85/32.png) [@kirank](https://forum.radzen.com/u/kirank)\
**Post date:** [October 28, 2022, 5:19am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/5 "2022-10-28T05:19:14Z")

</div>

I updated to Radzen 2.80.8 and am having this issue with already generated apps as well as new ones.

I compared code in Chrome Developer Tools to dialog from before the upgrade & it seems the upgrade is missing the z-index for the dialog.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 28, 2022, 5:32am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/6 "2022-10-28T05:32:31Z")

</div>

Hi @kirank,

Make sure you don’t have something in the application ignore list. If you have custom theme Radzen will not run the app and will show message to regenerate the theme by edit application settings and press save.

---

<div class="post-metadata">

**Author:** ![kirank](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/a87d85/32.png) [@kirank](https://forum.radzen.com/u/kirank)\
**Post date:** [October 28, 2022, 5:37am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/7 "2022-10-28T05:37:42Z")

</div>

Thanks @enchev

I've created a new app in Radzen. Nothing in application ignore and no custom theme.

If I add the following to style.css, the dialog is fine. I suspect the z-index was being added in the generated code for dialog but isn't now with the updated dialog.

rz-dialog { z-index; 1001; }

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 28, 2022, 5:39am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/8 "2022-10-28T05:39:06Z")

</div>

What type of application you’ve created? Blazor server or WASM? Can you clear your browser cache or browse the application in incognito mode?

---

<div class="post-metadata">

**Author:** ![kirank](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/a87d85/32.png) [@kirank](https://forum.radzen.com/u/kirank)\
**Post date:** [October 28, 2022, 5:50am UTC](https://forum.radzen.com/t/radzen-dialog-bug/12094/9 "2022-10-28T05:50:23Z")

</div>

WASM.

I did a Shift + Refresh of the app and it fixed the issue.

So browser was caching the old css.

All good now.

Thank you for assisting.
