You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/window/troubleshooting/common-issues.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ This article lists common issues and questions related to the **RadWindow** for
32
32
33
33
*[OnClientClose is not Fired](#onclientclose-is-not-fired)
34
34
35
+
*[Modal Overlay of RadWindow adds Scrollbars](#modal-overlay-of-radwindow-adds-scrollbars)
35
36
36
37
## General Troubleshooting
37
38
@@ -141,3 +142,35 @@ There are two workarounds:
141
142
142
143
* set `DestryOnClose` to `false`
143
144
145
+
## Modal Overlay of RadWindow adds Scrollbars
146
+
147
+
Commonly, due to design requirments, the body or the form have additoinal relative parents or a CSS rule `margin: 0 auto;`. This causes the modal overlay to miscaulculate the DOM element for the modality and add additinal offset.
148
+
149
+
There are several workarounds you can consider implementing:
150
+
151
+
* Make sure that the `<body>` or the `<form>` are the offset parents of the modal overlay. Further custom decoration should be applied to the form's content so that not affect RadWindow and its modality.
152
+
* Remove the scrollbars of the page when RadWindow opens and restore the when closed. Like in the example below:
0 commit comments