Skip to content

bug(Dialog): 多级弹窗如果设置IsDraggable 为false 则子级的弹窗的IsBackdrop不正常 #6730

@rehee

Description

@rehee

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

.net 版本 8.0
模式 wasm
使用dialogservice 的多级弹窗.
如果子弹窗的IsDraggable=false, 则IsBackdrop不工作.

Expected Behavior

我也不知道是不是本来就是这样设计的. 我寻思是不是IsDraggable=false 的时候也可以关闭子弹窗

Interactive render mode

Interactive WebAssembly (Client-side rendering (CSR) using Blazor WebAssembly)

Steps To Reproduce

MultiDialogs.zip

  1. home中有一个按钮. 按下以后会调用dialogservice再弹出一个home.
  2. 把Home.razor.cs line 24 的 IsDraggable = true, 注释掉. 或者设置为false
  3. 再弹窗中再次触发子级弹窗
  4. 子弹窗的窗口将与父弹窗完全重合
  5. 子弹窗无法点击遮罩关闭

Exceptions (if any)

No response

.NET Version

NET8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvestigationInvestigation in progress

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions