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] Navigation-drawer background color change

See original GitHub issue

Environment

Vuetify Version: 2.2.22 Vue Version: 2.6.11 Browsers: Firefox 75.0 OS: Windows 10

Steps to reproduce

Unfortunatly I can’t reproduce the bug on codepen. It’s work on dev build with npm run serve, but doesn’t work on production build with npm run build.

Expected Behavior

Navigation drawer with a grey background

Actual Behavior

Navigation drawer with a black background

Reproduction Link

https://codepen.io/Noreu/pen/RwWGmbR

Other comments

In production the .theme–dark.v-sheet background-color style override the .v-navigation-drawer .v-list background style and apply the the #1e1e1e color in place of inherit attribute.

I have some [mini-css-extract-plugins] error when I run build, for example :

chunk chunk-88ba3232 [mini-css-extract-plugin] Conflicting order. Following module has been added:

  • css ./node_modules/css-loader/dist/cjs.js??ref–9-oneOf-3-1!./node_modules/postcss-loader/src??ref–9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref–9-oneOf-3-3!./node_modules/vuetify/src/components/VSheet/VSheet.sass despite it was not able to fulfill desired ordering with these modules:
  • css ./node_modules/css-loader/dist/cjs.js??ref–9-oneOf-3-1!./node_modules/postcss-loader/src??ref–9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref–9-oneOf-3-3!./node_modules/vuetify/src/directives/ripple/VRipple.sass
    • couldn’t fulfill desired order of chunk group(s) , :
    • while fulfilling desired order of chunk group(s) , , , , , ,
  • css ./node_modules/css-loader/dist/cjs.js??ref–9-oneOf-3-1!./node_modules/postcss-loader/src??ref–9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref–9-oneOf-3-3!./node_modules/vuetify/src/components/VProgressLinear/VProgressLinear.sass
    • couldn’t fulfill desired order of chunk group(s) ,
    • while fulfilling desired order of chunk group(s) , , , , , ,
  • css ./node_modules/css-loader/dist/cjs.js??ref–9-oneOf-3-1!./node_modules/postcss-loader/src??ref–9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref–9-oneOf-3-3!./node_modules/vuetify/src/components/VCard/VCard.sass
    • couldn’t fulfill desired order of chunk group(s) ,
    • while fulfilling desired order of chunk group(s) , , , , , ,

I’m not comfortable with webpack but I view a tip wich tell to add the code above in vue.config.js :

css: {
    extract: {
      ignoreOrder: true
    },
  },

Warnings disapears but that don’t resolve the problem.

Thanks for the help !

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yesworldcommented, Dec 16, 2020

I faced the same problem… (

0reactions
johnleidercommented, Jun 14, 2021

fixed in baeb8a692

Read more comments on GitHub >

github_iconTop Results From Across the Web

Navigation drawer view background color showing black ...
Try to change the background-tint: ... Use android:background with the color you want and transparent app:itemBackground :
Read more >
How to change background color for NavigationDrawer
Yes, you can change the default background color of the list items in Navigation drawer by using the customClass property.
Read more >
Problems changing background color of drawer | Telerik Forums
Hello,. I am following your examples and there is an apparent problem. I am attempting to configure my sidedrawer here.
Read more >
Change Drawer Background Color in Flutter - The EASY Way ...
You can change drawer background color in Flutter, by having the first child as a Container widget. Adding the color to the Container...
Read more >
createDrawerNavigator - React Navigation
DrawerNavigatorConfig​ · drawerBackgroundColor - Use the Drawer background for some color. · drawerPosition - Options are left or right . · drawerType -...
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