[Bug Report] Explicitly defined theme color for a component reverts back on page navigation even though theme property changed
See original GitHub issueVersions and Environment
Vuetify: 2.0.0-beta.8 Vue: 2.6.10 Browsers: Vivaldi 2.7.1609.4 OS: Windows 10
Steps to reproduce
- Run the Python script
scripts/create_blog_metadata.py
. The prerequisite python packages can be installed using thescripts/python-requirements.txt
file. - Run
npm run nuxt-dev
- Open the website (localhost) in any browser.
- Click on the
change theme
icon in the top nav bar. Your theme will now change from the default dark to light. - Click on a link (any link, say
Legal
in the top bav bar). - The top nav bar and footer will now revert back to the dark theme colors.
- Go back to the home page. You will see that all components that have explicitly a color defined have reverted back to the default dark color.
Expected Behavior
Colors as defined under theme options stay put after navigation to a different link, even though the theme property has changed from dark to light and vice versa.
Actual Behavior
All components that have explicitly a color defined have reverted back to the default dark color.
Reproduction Link
https://github.com/manastalukdar/manastalukdar.github.io/tree/source/website
Other
- Using Nuxt.
- Using the
@nuxtjs/vuetify
,1.0.0-beta.7
module.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Changing theme colors does not work in 'spa' mode #69
[Bug Report] Explicitly defined theme color for a component reverts back on page navigation even though theme property changed ...
Read more >Themes - React Navigation
This is a useful tool in order to build themes because we can define the theme at the root of the app, and...
Read more >Use report themes in Power BI Desktop - Microsoft Learn
Learn how to use report themes to create a custom color palette and apply it to an entire report in Power BI Desktop....
Read more >Customizing instance appearance
Several approaches are available for defining an instance theme. CSS Properties. Navigate to System Properties > CSS. The following properties ...
Read more >Handle configuration changes - Android Developers
Some device configurations can change during runtime (such as screen orientation, keyboard availability, and when the user enables ...
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
Just verified that this issue is fixed with PR https://github.com/vuetifyjs/vuetify/pull/8234 in latest vuetify without having to upgrade vue-meta to v2.
@P4sca1 Yes, at least i’m sure it’s fixing it in Nuxt with
universal
mode (there’s still some issues regarding SPA with VueMeta, see the PR description)