Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jiaojiaodubai opened this issue Jan 23, 2025 · 0 comments

Comments

@jiaojiaodubai
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants