<img width="1237" alt="image" src="https://github.com/react-component/virtual-list/assets/51695385/6527bc99-31ea-4f38-9482-ae80e796caf4"> htmlElement为null情况下,获取offsetHeight会报错,希望可以兼容一下