javascript - preventing screen redraw on resizing -


is there way prevent redrawing of screen while resizing responsive website?

i want have responsive website, don't cheap animations involved when resizing screen (media breaks, instant disappears, text wraps (really ugly))

i hope there way tell browser redraw screen when resizing has stopped or similar solution..

is there?

no. when change size of dom element, including body, browsers "reflow" (i.e. redraw) page. when include img element without explicit size, page reflow when image loaded.

you may read more details here:

when reflow happen in dom environment?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -