F
F
frolldoll2018-05-08 17:16:36
React
frolldoll, 2018-05-08 17:16:36

Why in react, when navigating through pages, do they come off from the bottom?

that is, if I go down on the main page and click on the link there, then a new page will open and screen will be at the bottom of the page? Is this because of the spa or can it be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-05-08
@frolldoll

It shouldn't be like that, make a demo on github to understand better.
ps to the extreme, if everything is bad, you can always use window.scrollTo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question