When resizing the browser or when expanding to full screen, the site content resizes with a delay (the black background is visible and then the content is redrawn after half a second). Can anyone come across this. What to do?

  • Are you hung up on resize event windows? Perhaps due to the large number of calculations in the window.onresize event - Aleksander K.
  • Saw such a glitch in some versions of FireFox under OS X. In some browsers / OS this situation is reproduced? Checked on different devices? - Sergiks
  • one
    This situation is reproduced even in Chrome, but I am writing on an angular js application that uses some sort of "WebEngine Fancy Browser". As for window.onresize, yes, in the project, the connected bootstrap and jQuery + a bunch of plugins - there are a lot of resize. but without them you need to rewrite everything, maybe there are some browser settings? - Ivan Turcan
  • And why do you think this is not normal? Now I tried to quickly change the size of the window in the Yandex browser - this happens on all sites. - Qwertiy
  • one
    Less load on processing. Run the console, write the tester for a while. According to the results, it will be possible to say in which part of the site is overloaded .. Accordingly, it is necessary to reduce the code, remove a bunch of plugins, etc ... Or, change hosting to a more efficient one. Of course, there may be a lot of problems, but in this case, most likely, due to an overload on the page. - Niklex

1 answer 1

I made less load on the processing + removed the background, made white, now at least not so much when redrawing