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.6.6] VNavigationDrawer renders below VAppBar #19830

Closed
karanb0 opened this issue May 16, 2024 · 0 comments
Closed

[Bug Report][3.6.6] VNavigationDrawer renders below VAppBar #19830

karanb0 opened this issue May 16, 2024 · 0 comments
Assignees
Labels
E: layout Layout composable T: bug Functionality that does not work as intended/expected
Milestone

Comments

@karanb0
Copy link

karanb0 commented May 16, 2024

Environment

Vuetify Version: 3.6.6
Last working version: 3.5.18
Vue Version: 3.4.27
Browsers: Chrome 124.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  1. v-app with children v-navigation-drawer and v-app-bar in that order
  2. Make the drawer render a bit slower than the app bar.
    • In the repro below I used 1ms delay, but in practice this could be an async call or complex computation in the loading hooks of the component.

Expected Behavior

In the order the components are defined, the drawer should consistently open over the app bar.

Actual Behavior

Observe that when the navigation drawer opens, it's clipped below the app bar.

Reproduction Link

https://play.vuetifyjs.com/#...

Screenshot

Screenshot 2024-05-16 at 3 34 19 PM

Other comments

The issue doesn't exist in Vuetify 3.5, it's happening in versions 3.6+. If you change the Vuetify version in the repro link, you'll notice that the drawer renders correctly regardless of delay.

Workaround

Able to work around if for now by only loading the VAppBar (via v-if) after the VNavigationDrawer is mounted. Ideally we wouldn't have to manage this though.

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected E: layout Layout composable labels May 21, 2024
@KaelWD KaelWD self-assigned this May 21, 2024
@KaelWD KaelWD added this to the v3.6.x milestone May 21, 2024
@KaelWD KaelWD closed this as completed in c209d09 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: layout Layout composable T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants