joomla / install-from-web-server

Repository holding the component powering the Install from Web server.
9 stars 31 forks source link

Please freeze the page when the animated gif is displayed #34

Closed dgrammatiko closed 9 years ago

dgrammatiko commented 9 years ago

Whenever the joomla logo is displayed an overlay is also rendered BUT the page can still be scrolled

The effect is painful for the eyes.

Suggestion

Add a css style

body.modal-open {
    overflow: hidden;
    -ms-overflow-style: none;
} 

And these two lines of javascript in the relevant places e.g. init ajax, onSuccess

$('body').addClass('modal-open');
$('body').removeClass('modal-open');

This will freeze the page and will be much better

Just as a reminder this code comes from https://github.com/joomla/joomla-cms/pull/6964 which is RTC and most probably will make it to 3.4.2 so maybe the css styling won’t be necessary

Thanks

dgrammatiko commented 9 years ago

Sorry this is for the client! Wrong place