Skip to content
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: Invalid theme switch(主题切换无效) #2693

Closed
peng-xiao-shuai opened this issue Dec 22, 2023 · 5 comments
Closed

bug: Invalid theme switch(主题切换无效) #2693

peng-xiao-shuai opened this issue Dec 22, 2023 · 5 comments

Comments

@peng-xiao-shuai
Copy link

What version of daisyUI are you using?

4.4.23

Which browsers are you seeing the problem on?

Chrome Android

Reproduction URL

https://daisyui.com/docs/themes/

Describe your issue

以 daisyUI 官网为例子,在手机浏览器中打开后更改主题无效

Taking daisyUI's official website as an example, changing the theme after opening it in the mobile browser does not work

SVID_20231222_162534_1.mp4
Copy link

Thank you @peng-xiao-shuai for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@peng-xiao-shuai
Copy link
Author

daisyUI 在 3.9.4 版本中工作正常

daisyUI works fine in version 3.9.4

@saadeghi
Copy link
Owner

Which version of Android Chrome are you using?

@peng-xiao-shuai
Copy link
Author

Which version of Android Chrome are you using?

它在谷歌浏览器中没有问题,可能只是部分浏览器无法更改主题
我测试了 chrome、safari、Via 浏览器、华为浏览器,只有 Via 浏览器(5.1.1)、华为浏览器 无法更改

It doesn't have a problem in Google Chrome, it may just be that some browsers can't change the theme
I have tested chrome, safari, Via browser and Huawei browser, only Via browser (5.1.1) and Huawei browser cannot be changed

@saadeghi
Copy link
Owner

You may want to use a modern browser that can support newer CSS features.

Or if you can't use a modern, updated browser, you can use daisyUI 3 instead of 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants