Nuxt.js: Layouts/error.vue Weird transition

Created on 18 Apr 2019  路  4Comments  路  Source: nuxt/nuxt.js

Version

v2.6.2

Reproduction link

https://codesandbox.io/s/3vq7kyowz5

Steps to reproduce

click '404page'

What is expected ?

like click 'About page'

What is actually happening?

'404page' flickers/jumps to top

This bug report is available on Nuxt community (#c9075)
bug-report

All 4 comments

Looks like this is probably because of a CSS quirk. Throw a border around the container in error.vue. to see why it jumps.

Reference:
https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/template/components/nuxt-error.vue

Looks like this is probably because of a CSS quirk. Throw a border around the container in error.vue. to see why it jumps.

Reference:
https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/template/components/nuxt-error.vue

thanks,the root element CSS need
position: absolute;

Is the issue resolved? @cel533

@manniL I think we can mark this issue as resolved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uptownhr picture uptownhr  路  3Comments

maicong picture maicong  路  3Comments

mattdharmon picture mattdharmon  路  3Comments

jaredreich picture jaredreich  路  3Comments

vadimsg picture vadimsg  路  3Comments