JQuery ui modal dialog problems in IE

I am using the jquery ui dialog box widget. Everything works fine in FF, Opera, etc., With the exception of IE. The problem is that when you open a dialog in Internet Explorer, some space is added to the bottom of the document (not covered by this "modal gray layer"), and the page scrolls down. So I don’t even see the dialogue, I need to scroll up to see it completely.

Did everyone have a problem? Any solutions?

EDIT: Now I see that this "bottom space" is also added to FireFox, but it does not scroll to it like in IE.

+3
source share
2 answers

, . ( ) CSS:

position: relative;

, , (, ).

, jquery-ui-1.7.2.custom.css, jquery .

( ) :

position: absolute;

jquery-ui, -. , "" (), , .

+4

, IE - . uidialog , ht css, $mydlg.css('height',dlgH); , .

+1

Source: https://habr.com/ru/post/1742602/


All Articles