I am trying to get the myRef.current.offsetHeight using document.querySelector(\'#header_wrapper\');. However, I am having some issues getting the correct height of my wrapp