-
Notifications
You must be signed in to change notification settings - Fork 97
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 with switching modes "dark, light" on Safari in Dashboard UI-Pro template #22
Comments
Hi, @moshetanzer @benjamincanac Awaiting your guidance on next steps. |
Hey @shehab267 great. Yeah. Will definitely take a better look. The problem seems to be a hydration type of issue. You still could keep the component. Just for now use only as a client side or fully server side. Need to check if issue is in the color module, nuxt ui, or general server component issue. |
Thanks for the info! I tried rendering the component on the client side only, but the issue still persists. |
Do you mind adding a reproduction of what exactly you did. Also did you test server side? |
hey i just tried it homechart component when ran as server didn't render the data. but after comenting out the library code "unovis/vue" the issue was gone so i was trying to croner the issue and i am pretty much sure its from the library this is the homechart componant after removing the library code
|
Hi @moshetanzer, I hope you are well. I am following up to inquire about any updates regarding this issue. Your assistance is much appreciated. Thank you! |
Environment
Operating System: Darwin
Node Version: v18.16.0
Nuxt Version: 3.11.1
CLI Version: 3.11.0
Nitro Version: 2.9.4
Package Manager: [email protected]
Builder: -
User Config: extends, devtools, ssr, runtimeConfig, modules, css, ui, app, pinia, i18n, veeValidate, plugins
Runtime Modules: @nuxt/[email protected], @nuxt/[email protected], @vueuse/[email protected], @vee-validate/[email protected], @pinia/[email protected], @nuxtjs/[email protected]
Build Modules: -
Version
v2.15.2
Reproduction
https://dashboard-template.nuxt.dev/
Description
Summary:
On the Dashboard UI-Pro template, there is a bug with switching between light and dark modes on Safari (both desktop and mobile). When switching modes, buttons, fields change with the selected mode, but the background doesn't change unless the page is refreshed.
Steps to Reproduce:
Open the Dashboard UI-Pro template on Safari.
Switch between light and dark modes using the provided toggle buttons.
Note that the buttons change with the selected mode, but the background doesn't change until the page is refreshed.
Expected Behavior:
The background should change immediately when switching between light and dark modes without requiring a page refresh.
Actual Behavior:
The background does not change when switching between light and dark modes unless the page is refreshed.
Additional Information:
This issue only occurs on Safari; it works fine on other browsers.
Additional context
The text was updated successfully, but these errors were encountered: