Dialog: overlay: absolute positioning without theme#594
Dialog: overlay: absolute positioning without theme#594svermillion wants to merge 1 commit intojquery:masterfrom
Conversation
…displaying a modal window.
|
How is this the problem and why can't it be fixed in the stylesheet? |
|
Without it, the overlay is added to the bottom of the page at a height that is approximately equal to the client viewport height an incorrect width (a bit wider than the client viewport). This is undesirable beyond the point of style: 1.) The modal dialog isn't truly modal since the overlay does not actually overlay the page's content and still allows, at the very least, mouseover events definitely still fire in the page. I'm not sure where the line is typically drawn in jQueryUI in regards to style vs. function, but this seems firmly on the function side. |
|
.ui-wdget-overlay is already absolutely positioned form jquery.ui.core.css. I don't see how your change helps. |
|
It would fix modal for people not using the themes, which is how this ticket likely came about and how I have noticed it myself. It seems weird to me that |
|
That's an invalid use of jQuery UI. Our functional CSS is required, our theme CSS is not. I've asked the original reporter of the ticket to provide a reduced test case so we can see if he's not including the core CSS (he's clearly using the base theme in the screenshots). |
|
Wow, my bad. My apologies. |
Fixes #7917. This positioning shouldn't be left up to the theme's css.