Skip to content

fix(ios): clear non-uniform border layer when all border widths go to 0 - #14

Merged
farfromrefug merged 1 commit into
mainfrom
fix/ios-clear-non-uniform-border
Nov 6, 2026
Merged

farfromrefug merged 1 commit into
mainfrom
fix/ios-clear-non-uniform-border

Conversation

@farfromrefug

Copy link
Copy Markdown

Problem

On iOS, when a view has non-uniform border radii and every border width is reset to 0, drawNonUniformBorders skipped the border branch and left the previous border layer drawn.

Fix

In drawNonUniformBorders, call clearNonUniformBorders when the background has no border width but the view still has a non-uniform border layer.

Change is 5 lines in packages/core/ui/styling/background.ios.ts.

🤖 Generated with Claude Code

When the radii stay non-uniform but every border width is reset to 0,
drawNonUniformBorders skipped the border branch and left the previous
border layer in place. Clear it in that case.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@farfromrefug
farfromrefug merged commit 8ce721b into main Nov 6, 2026
1 of 3 checks passed
@farfromrefug
farfromrefug deleted the fix/ios-clear-non-uniform-border branch November 6, 2026 11:06
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