Skip to content

fix(ios): background color property on Button - #9524

Merged
NathanWalker merged 1 commit into
NativeScript:masterfrom
rob4226:fix-ui-button-bg
Aug 24, 2021
Merged

NathanWalker merged 1 commit into
NativeScript:masterfrom
rob4226:fix-ui-button-bg

Conversation

@rob4226

@rob4226 rob4226 commented Aug 24, 2021

Copy link
Copy Markdown
Contributor

Currently Button on iOS doesn't respond to background color changes
after it is created. This commit implements the backgroundColorProperty
to access the native UIButton's backgroundColor property.

Fixes #9523

Currently Button on iOS doesn't respond to background color changes
after it is created. This commit implements the backgroundColorProperty
to access the native UIButton's backgroundColor property.

Fixes #9523
@NathanWalker
NathanWalker merged commit c3cadc7 into NativeScript:master Aug 24, 2021
@farfromrefug

Copy link
Copy Markdown
Collaborator

@NathanWalker are you this would not break background handling with gradient , border... ?

@CatchABus

CatchABus commented Sep 5, 2023 •

Copy link
Copy Markdown
Contributor

@NathanWalker are you this would not break background handling with gradient , border... ?

+1. During my background handling rework, I concluded this PR really caused problems with button background.
On top of that, it seems this change is unneeded now so it might have been fixed by a previous update.
PR #10374 will attempt to get rid of these changes.

@CatchABus CatchABus mentioned this pull request Sep 5, 2023
4 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS UIButton backgroundColor does not respond to color changes

4 participants