[Bug Report][3.0.0-beta.1] Vuetify 3 CSS import causes incorrect overlay behaviors
See original GitHub issueEnvironment
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.
- Clone reproduction repo
- Run
yarn
- run
yarn dev
- 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:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@emikoshi #15134
This was fixed by 11fddffcb9334856a54938267c634774653b909f
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