Progress bar fails with "Invalid value: 50" for any max
value passed.
#277
Answered
by
segunadebayo
Southclaws
asked this question in
Q&A
-
Hey, just dropped the Progress component into my project and threw in some test values and it seems any values cause "Invalid value: 50" Not sure where 50 is coming from, there's no real information/trace given. <Progress value={2.3} min={0} max={5} /> The only non-mangled part of the stack trace isn't super useful either:
Any idea? Is this component just not ready yet? Edit: <Progress value={(2.3/5)*100} /> |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
May 22, 2024
Replies: 1 comment
-
This is a bug in Zag.js. I just fixed it here It should be released shortly and your code should work fine afterwards |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a bug in Zag.js. I just fixed it here
It should be released shortly and your code should work fine afterwards