Skip to content

Conversation

@JorgeOteiza
Copy link
Contributor

PR Checklist

  • The PR title follows our guidelines.
  • There is an issue for the bug this PR is for.
  • You have signed the CLA.
  • All existing tests are passing.
  • Tests for the changes are included.

What is the current behavior?

On iOS, when selectedBackgroundColor is set on a SegmentedBar, the control may briefly display incorrect background colors at the corners until a segment is selected by the user.

This happens because the selected text color is not always reapplied immediately after the background color changes, which can lead to visual artifacts.

What is the new behavior?

The selected text color is now reapplied whenever selectedBackgroundColor is updated, ensuring that text and background colors remain visually consistent without requiring user interaction.

This change only affects iOS and does not modify behavior on other platforms.

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.

💯

@nx-cloud
Copy link

nx-cloud bot commented Dec 26, 2025

View your CI Pipeline Execution ↗ for commit 203f982

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

☁️ Nx Cloud last updated this comment at 2025-12-26 20:25:46 UTC

@NathanWalker NathanWalker merged commit 008cff8 into NativeScript:main Dec 26, 2025
4 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.

SegmentedBar on iOS 26 shows the background color at the corners

2 participants