html - Weird Chrome Quirk On First Load of Page - fixed, but why? -


i've encountered weird css quirk layout misbehaves on first load of web page, works after refresh. behavior observed in chrome.

to reproduce:

  1. open https://coinchat.org/j:offtopic

  2. see right sidebar pushed underneath page, through there enough spacing , set float: right

  3. refresh page

  4. observe right sidebar no longer pushed underneath page.

  5. open new tab, open https://coinchat.org/j:offtopic

  6. go 2

the following code fixes this:

$("#chatsidebar").hide(); settimeout(function(){ $("#chatsidebar").show(); }, 1); 

my question is, why?


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -