scroll of div move on top on button click in react js code example Example: on click move item top react <ul> <li>one</li> <li>two</li> <li>three</li> </ul>