shadcn/ui <Progress />
max reproduction
A reproduction of the progress bar issue, where the max does not work if it isn't 100Before Fix
Scenario 1:
max
defaults to 100<Progress value={13} />
13/100Scenario 2:
max
set to 50<Progress value={13} max={50} />
13/50Scenario 3:
max
set to 150<Progress value={13} max={150} />
13/150Scenario 4:
max
set to 20<Progress value={13} max={20} />
13/20
After Fix
Scenario 1:
max
defaults to 100<Progress value={13} />
13/100Scenario 2:
max
set to 50<Progress value={13} max={50} />
13/50Scenario 3:
max
set to 150<Progress value={13} max={150} />
13/150Scenario 4:
max
set to 20<Progress value={13} max={20} />
13/20