Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual state change for disabled RadioButton #23471

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kubaflo
Copy link
Contributor

@kubaflo kubaflo commented Jul 7, 2024

Description of Change

Fixes #18668
Fixes #18668 (comment)

iOS Android
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-07.at.02.01.55.mp4
Screen.Recording.2024-07-07.at.01.40.57.mov

@kubaflo kubaflo requested a review from a team as a code owner July 7, 2024 00:16
@kubaflo kubaflo requested review from mattleibow and PureWeen July 7, 2024 00:16
@kubaflo kubaflo requested review from dustin-wojciechowski and removed request for mattleibow July 7, 2024 00:17
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jul 7, 2024
@dustin-wojciechowski
Copy link
Contributor

This looks good! Would you mind writing a test for it as well? :)

@kubaflo
Copy link
Contributor Author

kubaflo commented Jul 18, 2024

@dustin-wojciechowski of course, I will write the test as soon as I find some time :)

@kubaflo
Copy link
Contributor Author

kubaflo commented Jul 19, 2024

@dustin-wojciechowski I've added a UI test :)

@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz
Copy link
Contributor

/rebase

@jsuarezruiz
Copy link
Contributor

/rebase

{
App.WaitForElement("button");
App.Click("button");

Copy link
Contributor

Choose a reason for hiding this comment

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

Could the test change the theme and verify the disabled RadioButton on Light and Dark theme?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure if this is necessary as changing the opacity is rather independent on user theme right?

Screenshot 2024-11-14 at 19 48 58

{
Property = Grid.OpacityProperty,
TargetName = "Grid",
Value = 0.4f
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be a different value based on the system theme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RadioButton disabled UI issue - iOS
4 participants