弹窗内 Select 组件被遮挡问题 #6985
-
Is there an existing issue for this?
Describe the bug弹出多级弹窗时,只有第一级的弹窗,弹窗内容是否滚动与IsScrolling的值相符合,后续的弹窗都默认是滚动的,无法通过IsScrolling属性进行控制。 default.mp4Expected Behavior后续的多级弹窗的内容,都可以根据IsScrolling参数来控制弹窗中的内容是否滚动。 Interactive render modeInteractive Auto (Server, then client) Steps To Reproduce复现工程:多级弹窗,连接:https://www.blazor.zone/dialog#MultipleDialog Exceptions (if any)No response .NET VersionNET9.0 Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
|
@LeiLei-Liu Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
|
@LeiLei-Liu 就是这样设计的 |
Beta Was this translation helpful? Give feedback.
-
|
不是太能理解这样设计的目的,感觉给IsScrolling设定一个默认值,有需要的情况可以进行更改,更合理一点。 在我的需求场景中,二级弹窗中有一个下拉框。内容滚动,会导致下拉的内容被遮盖,使用的效果不是很好。
|
Beta Was this translation helpful? Give feedback.
-
|
@LeiLei-Liu 非常理解,Dialog 组件使用的是 最早一版本的多级弹窗 先弹出的弹窗是会被隐藏的就没有这个问题,后来有很多人要求不隐藏后面的弹窗,所以目前都显示,就有这个问题了。而且多级弹窗这个参数不是不起作用而是一律强制使用 true 了。即窗口内滚动,实际使用中并无影响。 关联 Issue |
Beta Was this translation helpful? Give feedback.
-
|
@LeiLei-Liu 下拉框在 Dialog 中使用时请设置 我们还提供了全局设置下拉框不被遮挡 |
Beta Was this translation helpful? Give feedback.
-
|
@ArgoZhang 感谢大神,通过"IsPopover": true的确解决了我的问题。我本来想的是通过一个全局样式no-scroll,然后通过ResultDialogOption的Class属性附加样式,通过no-scroll来覆盖.modal-dialog-scrollable的效果。 |
Beta Was this translation helpful? Give feedback.
-
|
@LeiLei-Liu 所以尽量说自己遇到的问题。不要上来就说这个有 bug 那个有 bug。不能因为你的下拉框被遮挡了就说弹窗有 bug。 |
Beta Was this translation helpful? Give feedback.

@LeiLei-Liu 下拉框在 Dialog 中使用时请设置
IsPopover我们还提供了全局设置下拉框不被遮挡