-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Disabled Button Visual State doesn't Update Image Source #10709
Copy link
Copy link
Closed
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.58Look for this fix in 7.0.58!Look for this fix in 7.0.58!fixed-in-8.0.0-preview.1.7762Look for this fix in 8.0.0-preview.1.7762!Look for this fix in 8.0.0-preview.1.7762!good first issueGood for newcomersGood for newcomersplatform/androids/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versiont/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
When you change the state of a button to disabled, the visual state manager is not applying changes to the ImageSource.
This issue is on Android. Works as expected on Windows.
Issue exists on both latest dotnet 6 and dotnet 7 preview.
Steps to Reproduce
- Launch the sample app.
- Click the top button and it will set the bottom button state to disabled.
- You will notice the text color change on the bottom button. The image source is supposed to change to as well, but it stays as the original color.
Link to public reproduction project repository
https://github.com/mkehoe-Extron/MauiAndroidButtonStateIssue
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android API 31
Did you find any workaround?
No response
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.58Look for this fix in 7.0.58!Look for this fix in 7.0.58!fixed-in-8.0.0-preview.1.7762Look for this fix in 8.0.0-preview.1.7762!Look for this fix in 8.0.0-preview.1.7762!good first issueGood for newcomersGood for newcomersplatform/androids/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versiont/bugSomething isn't workingSomething isn't working