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

[Bug Report][3.0.0-beta.14] v-parallax sometimes covers whole page or zooms incorrectly #15935

Closed
baermathias opened this issue Oct 19, 2022 · 5 comments
Assignees
Labels
C: VParallax VParallax T: bug Functionality that does not work as intended/expected
Milestone

Comments

@baermathias
Copy link

baermathias commented Oct 19, 2022

Environment

Vuetify Version: 3.0.0-beta.14
Vue Version: 3.2.41
Browsers: Chrome 106.0.0.0
OS: Linux x86_64

Steps to reproduce

Check the codesandbox example and click between Go to About and Go to Home for navigation.

Expected Behavior

To work as in docs example

Actual Behavior

When navigating to the page with the v-parallax component, the component sometimes covers the whole page and sometimes not. If it does cover the whole page, then you can scroll down a little bit and the effect disappears.
Also when using it with the latest nuxt version it behaves in a way that it sometimes zoomes in very strongly and sometimes not.

Reproduction Link

https://codesandbox.io/s/reverent-robinson-gotfgx

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VParallax VParallax and removed S: triage labels Oct 22, 2022
@KaelWD KaelWD added this to the v3.0.x milestone Oct 22, 2022
@yuwu9145
Copy link
Member

yuwu9145 commented Oct 22, 2022

Doesn't look like a vuetify bug as the sample reproduction code is somehow missing vuetify styles.

It works all good after putting <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vuetify@3.0.0-beta.14/dist/vuetify.min.css" /> into index.html

@KaelWD
Copy link
Member

KaelWD commented Oct 22, 2022

Good catch, the initial scale is still too high though.

somehow missing vuetify styles

Looks like webpack 4 uses exports.require for import { createVuetify } from "vuetify"

@yuwu9145
Copy link
Member

yuwu9145 commented Oct 23, 2022

scale too high is caused by NOT using v-app in root.

With v-app applied, all working perfectly: https://codesandbox.io/s/red-voice-09491y?file=/src/components/Layout.vue

@KaelWD
Copy link
Member

KaelWD commented Oct 23, 2022

  • v-app is optional
  • still happens sometimes if you just put a plain div around the router-view

@yuwu9145
Copy link
Member

I can replicate the issue with plain div

@KaelWD KaelWD modified the milestones: v3.0.x, v3.0.0-beta Oct 24, 2022
@KaelWD KaelWD self-assigned this Oct 24, 2022
KaelWD added a commit that referenced this issue Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VParallax VParallax T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants