A
A
Alexander2020-05-20 18:52:16
Vue.js
Alexander, 2020-05-20 18:52:16

How to disable scroll history in vuejs?

Hello, how can I disable scroll history in vue.js?
For example, I create a link in the App.vue component and scroll down the page:

<router-link :to="{ name: 'Users', params: { userId: 2 } }">Send</router-link>


When I click on this link, I find myself in the Users.vue component at the same position as App.vue. How can this be resolved?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question