A
A
Artem00712017-03-25 20:20:53
Vue.js
Artem0071, 2017-03-25 20:20:53

Why won't the page scroll up?

Registered in the route

export default new Router({
  mode: 'history',
  scrollBehavior (to, from, savedPosition) {
    return { x: 0, y: 0 }
  },

The application works, but when you click on the links it does not scroll up

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