Skip to content

nested page scroll behaviour #31638

@mrleblanc101

Description

@mrleblanc101

Environment


  • Operating System: Darwin
  • Node Version: v20.18.0
  • Nuxt Version: 3.16.2
  • CLI Version: 3.24.0
  • Nitro Version: 2.11.8
  • Package Manager: pnpm@9.12.2
  • Builder: -
  • User Config: modules, $development, devtools, app, css, runtimeConfig, future, compatibilityDate, vite, postcss, eslint, i18n, image, prismic, scripts
  • Runtime Modules: @nuxt/eslint@1.3.0, @nuxtjs/prismic@4.1.0, @nuxt/fonts@0.11.0, @nuxtjs/i18n@9.4.0, @nuxt/image@1.10.0, @vueuse/nuxt@13.0.0, @hebilicious/vue-query-nuxt@0.3.0, @nuxt/scripts@0.11.5
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-prrsurkb?file=pages%2Fschedule%2F[day].vue

Describe the bug

When changing nested page, the parent page is scrolled to the top.
It should only scroll to the top if the parent page or the layout change.

Image

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions