Force DOM redraw/refresh on Chrome/Mac
Not sure exactly what you’re trying to achieve but this is a method I have used in the past with success to force the browser to redraw, maybe it will work for you. // in jquery $(‘#parentOfElementToBeRedrawn’).hide().show(0); // in plain js document.getElementById(‘parentOfElementToBeRedrawn’).style.display = ‘none’; document.getElementById(‘parentOfElementToBeRedrawn’).style.display = ‘block’; If this simple redraw doesn’t work you can … Read more