N
N
newhack2020-11-25 19:14:56
Vue.js
newhack, 2020-11-25 19:14:56

Screen twitches when switching routes Nuxt how to solve?

Some kind of preloader comes to mind, which will hide everything with a white veil, but it wasn’t there, the good old window.onload methods don’t work and flew the wrong way. How to decide correctly, and maybe there is some kind of short solution to this. And yes, and it only works when the page is loaded for the first time, but if you follow the links, then everything jumps (namely one-time) when there is no such effect again. And some components in the center of the frame are mounted longer than others, and it turns out that the lower elements fly to the top. Transition did not help from Nuxta.

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