reactjs typeError: Cannot read property 'offsetHeight' of null
handleResize = () => {
let highestSlide = 0;
this.refArray.forEach(ref => {
if (ref.current && highestSlide < ref.current.offsetHeight) {
highestSlide = ref.current.offsetHeight;
}
});
};
Are there any code examples left?
New code examples in category Javascript