vuetifyjs / vuetifyjs/vuetify

[Documentation] Add a tip about setting scroll behavior for app-bar component

Open
#20,909 0 comments 0 reactions 1 assignee View on GitHub

@eesayas is already working on this.

Since Jun 4, 2025.

C: VAppBar E: layout T: documentation
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Problem to solve

When app-bar is enabled, elements marked with hash target may scroll behind the app bar.

Proposed solution
  • If vue-router is used, just configure router option scrollBehavior like vuetify doc itself. For nuxt user, may use app/router.options.ts file described at here.
  • Other case, may apply css attribute scroll-margin-top as this article.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.