Skip to content

Apply endAngle as documented and add unfilledStrokeCap prop - #273

Open
jcbkdev wants to merge 2 commits into
oblador:masterfrom
jcbkdev:master
Open

Apply endAngle as documented and add unfilledStrokeCap prop#273
jcbkdev wants to merge 2 commits into
oblador:masterfrom
jcbkdev:master

Conversation

@jcbkdev

@jcbkdev jcbkdev commented Sep 7, 2026

Copy link
Copy Markdown

The endAngle was documented as controlling the sweep of the whole circle, but it was only used on the spinner's border arc. Applied CIRCLE * endAngle to the progress and unfilled arcs to match the docs.

Also changed the default from 0.9 to 1 because now it'd silently give every default circle a gap for no reason.

Added unfilledStrokeCap to Circle so the unfilled arc's stroke cap can be styled independently of the progress arc.

Before

before

After

after

unfilledStrokeCap

unfilledStrokeCap

@jcbkdev jcbkdev changed the title fix: apply endAngle as documented, not just to spinner arc Apply endAngle as documented and add unfilledStrokeCap prop Sep 7, 2026
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.

1 participant