dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.23k stars 1.76k forks source link

.NET 8 Changing BackgroundColor through an attached property does not work on Android #19576

Open FreakyAli opened 10 months ago

FreakyAli commented 10 months ago

Description

I have a Static class that uses attached properties to create a shimmer effect, This stops updating the BackgroundColor with .NET 8. Works fine on iOS and on both with .NET 7 and 6.

Steps to Reproduce

.NET 8 .NET 7

Link to public reproduction project repository

https://github.com/FreakyAli/Maui.FreakyEffects

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI, Yes, this used to work in Xamarin.Forms

Last version that worked well

7.0.101

Affected platforms

Android

Affected platform versions

All

Did you find any workaround?

No

Relevant log output

No response

FreakyAli commented 8 months ago

Any updates guys my plugin is pretty much dependent on it!?

QianaJiao commented 8 months ago

Verified this issue with Visual Studio 17.10.0 Preview 1; Maui 8.0.7; I can repro on Android platform with Sample project. image

FreakyAli commented 6 months ago

@jfversluis Can we take a look into this one, Its an important feature and is not working on Android

jfversluis commented 6 months ago

Feel free to have a look 😉

FreakyAli commented 6 months ago

@QianaJiao Can we do something about this, I have a plugin that's dependent on it!

Jon2G commented 5 months ago

Spent hours dealing with this, its affecting lots of plugins!

FreakyAli commented 5 months ago

@Jon2G did you find some kind of a work around to it?

Jon2G commented 5 months ago

I'm downgrading to net 7 Awful 😔

FreakyAli commented 5 months ago

@Jon2G I thought .NET7 is unsupported now...