We want to scroll to the top of the element, so get ref.current.offsetTop to get that and use that as the 2nd argument.
確定! 回上一頁