Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jzgoda
Copy link
Contributor

@jzgoda jzgoda commented Jan 23, 2026

PR Checklist

What is the current behavior?

When setting backgroundColor on SegmentedBar, the initial render on iOS 26 is missing the border radius, and shows sharp corners.

What is the new behavior?

This fix exposes the already defined nativeBackgroundState from packages/core/ui/core/view/index.d.ts, and triggers a redraw if it is invalid during the onLoaded event.

Fixes #11014.

Copy link
Contributor

@NathanWalker NathanWalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great simple fix, thank you @jzgoda 💯

@nx-cloud
Copy link

nx-cloud bot commented Jan 24, 2026

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit b05cc20

Command Status Duration Result
nx test apps-automated -c=ios ❌ Failed 2m 46s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-24 03:57:53 UTC

@nx-cloud
Copy link

nx-cloud bot commented Jan 24, 2026

View your CI Pipeline Execution ↗ for commit b05cc20

Command Status Duration Result
nx run-many --target=test --configuration=ci --... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-24 03:49:24 UTC

@NathanWalker
Copy link
Contributor

Can ignore the single failing ios test (it's commonly flakey).

@NathanWalker NathanWalker merged commit bfa81f3 into NativeScript:main Jan 24, 2026
3 of 4 checks passed
@jzgoda
Copy link
Contributor Author

jzgoda commented Jan 30, 2026

great simple fix, thank you @jzgoda 💯

Thank you for accepting & releasing it so quickly!

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.

SegmentedBar on iOS 26 shows the background color at the corners

2 participants