Page 1 of 1

Modal windows are not displayed in full height

Posted: 2021-01-12 00:04
by SkayyHH
hello all,

modal windows are not displayed in full height for me on smaler screens. Can any of you verify this? And if so, any idea what the problem is?

Thanks a lot!


Image

Re: Modal windows are not displayed in full height

Posted: 2021-01-12 07:20
by SkayyHH
I still noticed the problem seems to occur with apple iphones and ipads. Smaller windows browser sizes do not seem to cause a
problem with modal windows. I can´t find the problem in css :-(

Thanks much for help!

Re: Modal windows are not displayed in full height

Posted: 2021-01-12 23:16
by SkayyHH
Please, can someone verify that problem? I suspect it is due to the sandbox settings.

Thank you for the effort!

Re: Modal windows are not displayed in full height

Posted: 2021-01-13 09:03
by SkayyHH
You can easily reproduce this with the browser developer tools (firefox / chrome etc.).

Simply select IPAD and open a lookup field.

I would be very happy for an idea to fix that :-)

Re: Modal windows are not displayed in full height

Posted: 2021-01-13 19:17
by SkayyHH
Ahmed has found the reason. He will fix it in appgini.

Here is the fix in advance.

In "common.js.php" search for:

Code: Select all

var wh = $j(window).height(),
    mtm = mod.find(ipm + 'dialog').css('margin-top'),
    mhfoh = mod.find(ipm + 'header').outerHeight() + mod.find(ipm + 'footer').outerHeight();
and replace with:

Code: Select all

var wh = $j(window).height(),
    mtm = mod.find(ipm + 'dialog').css('margin-top'),
    mhfoh = mod.find(ipm + 'header').outerHeight();

if(mod.find(ipm + 'Fußzeile').length) mhfoh += mod.find(ipm + 'Fußzeile').outerHeight();
Thanks again to ahmed!