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

fix(components): incorrect strokeWidth #2410

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

wingkwong
Copy link
Member

@wingkwong wingkwong commented Feb 26, 2024

Closes #1790

📝 Description

the logic for setting strokeWidth is incorrect in circular progress

⛳️ Current behavior (updates)

if we set the top one with strokeWidth={2} and the bottom one with strokeWidth={3}, the width is same due to the incorrect logic.

image

🚀 New behavior

Here's the expected width.

image

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Copy link

changeset-bot bot commented Feb 26, 2024

🦋 Changeset detected

Latest commit: f16cb5c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nextui-org/progress Patch
@nextui-org/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextui-storybook-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 0:06am

Copy link

vercel bot commented Feb 26, 2024

@wingkwong is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

@jrgarciadev jrgarciadev merged commit 0ce1026 into heroui-inc:main Feb 27, 2024
7 of 8 checks passed
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

Successfully merging this pull request may close these issues.

[BUG] - strokeWidth doesn't do anything on Circular Progress
2 participants