Make a react-window (2)
react-window2 Introduce: as last time introduce react-window , I had separate the design structure try to understand how it work , and today I’m going use IntersectionObserverEntry to ****make simliar as react-window List component List design Div design: react-window paremeter is by px , here I want did some different is by hv , that will be more availability on the responsive div1 : we need set max height value when child element is over size will show scroll barmax-height: <parameter>by hvoverflow: auto div2 : here we need set virtual height for scroll barheight: itemCount * rowheight = total height position: relative row div : per row we need give the top height to align and positionposition: absolutetop: by current indexclassName: tr IntersectionObserverEntry: we need pass two paremeter to IntersectionObserver option : const options = {root: document.getElemen...