Skip to content

Conversation

@chrisglein
Copy link
Member

@chrisglein chrisglein commented Aug 25, 2023

Description

Fabric's TextInput didn't apply the backgroundColor set in the style.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

Fixing this applies a helpful solution to the removal of the default background chrome from TextInput (previously applied by XAML TextBox.

Resolves #11763

What

What changes were made to the codebase to solve the bug, add the functionality, etc. that you specified above.

Screenshots

Before After
image image
image image

And in Artificial Chat:
image

Testing

Tested in ArtificialChat by adding to the main chat box.
Tested in Playground with the existing TextInput page (and on 2 different machines/monitors with different DPIs, because I didn't apply the scale the first time 😅)

Changelog

Should this change be included in the release notes: Yes

Implemented backgroundColor for Fabric's TextInput

Microsoft Reviewers: Open in CodeFlow

@chrisglein chrisglein requested a review from a team as a code owner August 25, 2023 18:11
@chrisglein chrisglein added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label Aug 26, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot enabled auto-merge (squash) August 26, 2023 00:54
@microsoft-github-policy-service microsoft-github-policy-service bot merged commit 2f7e8f3 into microsoft:main Aug 28, 2023
@chrisglein chrisglein deleted the textBackground branch August 28, 2023 18:01
@jonthysell jonthysell added the New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Fabric Support Facebook Fabric Area: TextInput AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Fabric TextInput doesn't apply background color

3 participants