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: Countdown does not work in cdn versions #2699

Closed
yooneskh opened this issue Dec 26, 2023 · 2 comments
Closed

bug: Countdown does not work in cdn versions #2699

yooneskh opened this issue Dec 26, 2023 · 2 comments

Comments

@yooneskh
Copy link

What version of daisyUI are you using?

4.4.24

Which browsers are you seeing the problem on?

Chrome, Firefox

Reproduction URL

https://play.tailwindcss.com/Bjca0H4e8p

Describe your issue

I am using the cdn version of the daisy ui, but this problem exists in the codepen and tailwind play version too (which are the cdn version i suppose).

Essentially, the countdown numbers are not changing when i put them on the screen. I suppose there is a javascript code doing that which does not exist in the cdn version.

Copy link

Thank you @yooneskh 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.

@yooneskh yooneskh changed the title bug: Coutdown does not work in cdn versions bug: Countdown does not work in cdn versions Dec 26, 2023
@saadeghi
Copy link
Owner

Please read the docs:

Countdown
Countdown gives you a transition effect of changing numbers.
You need to change to --value CSS variable using JS. Value must be a number between 0 and 99.

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