Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make page scroll to the top jsx

componentDidMount() {
  window.scrollTo(0, 0)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #page #scroll #top #jsx
ADD COMMENT
Topic
Name
1+6 =