And call myRef.current.scrollIntoView() to scroll it into the view. The whole implementation using a functional component. App.jsx.
確定! 回上一頁