React: myRef.current and myRef.current.offsetHeight are different

前端 未结 0 1475
挽巷
挽巷 2020-12-05 12:35

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题