question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report][3.0.0-beta.1] Vuetify 3 CSS import causes incorrect overlay behaviors

See original GitHub issue

Environment

Vuetify Version: 3.0.0-alpha.13 Vue Version: 3.2.25 Browsers: Chrome 99.0.4844.51 OS: Linux x86_64

Steps to reproduce

I’m using nightly, but it isn’t an option in the dropdown. It’s broken in alpha 13 also.

  1. Clone reproduction repo
  2. Run yarn
  3. run yarn dev
  4. Launch “Open” dialog, see it stack incorrectly behind v-app-bar and v-nav-drawer.

Expected Behavior

fullscreen dialog should be in front of app bar and nav drawer

Actual Behavior

fullscreen dialog is behind app bar and nav drawer.

Reproduction Link

https://github.com/subdavis/ts-repro-vuetify-2022

Other comments

Something is wrong with CSS. I couldn’t reproduce in codepen, so I looked at where the CSS was coming from and swapped it in my local app.

This is a CSS bug, where the documentation about how to import CSS is wrong.

import 'vuetify/styles'; // BROKEN
// import 'vuetify/dist/vuetify.css'; // WORKING

However, this roughly doubles the size of my CSS bundle, and I don’t know why.

Screenshots

https://user-images.githubusercontent.com/4214172/158239157-78e21401-a14d-4efa-b6a1-0acbfa6bc036.mp4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KaelWDcommented, May 23, 2022

@emikoshi #15134

This was fixed by 11fddffcb9334856a54938267c634774653b909f

1reaction
emikoshicommented, May 20, 2022

Just to add, had the same experience as @subdavis. I was implementing some button tooltips that were within a dialog. I thought it was broken but the tooltips were being spawned underneath the dialog overlay. This was using the import "vuetify/styles"; method.

I tried implementing with a dialog codepen on the Vuetify website and noticed it working, so I went ahead and used import "vuetify/dist/vuetify.css"; instead and it worked just fine/tooltips spawning above the dialog in my app.

This is with the current beta2 and nightly as of 5/20/2022

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently asked questions — Vuetify
How do I extend Vuetify components? Vuetify components are easily extendable by importing it and using the extends option in vue. Codepen ...
Read more >
Overlay component - Vuetify
The v-overlay component is used to provide emphasis on a particular element or parts of it. It signals to the user of a...
Read more >
Get started with Vuetify 3
To get started with Vuetify 3, simply paste the following code into your terminal ... import '@mdi/font/css/materialdesignicons.css' import 'vuetify/styles' ...
Read more >
Upgrade Guide — Vuetify
This is similar to how vue-router and vuex are bootstrapped. # Vue-CLI 3 Vuetify plugin install. // v1.5 // src/plugins/vuetify.js ...
Read more >
The Vuetify roadmap
Overview: First post v3 release that will focus on porting remaining missing v2 components and general bug fixing. Milestone Issues: Github ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found