LuckyDucko / Mopups

Popups For MAUI
BSD 3-Clause "New" or "Revised" License
263 stars 48 forks source link

BackgroundColor doen't work with DynamicResource. #119

Open AdrLeon opened 4 months ago

AdrLeon commented 4 months ago

Issue:

BackgroundColor doesn't work with DynamicResource.

Expected Behavior:

BackgroundColor work with DynamicResource.

Environment:

Platform: Windows, Android, iOS .NET Version: 8.0.0 Mopups Version: 1.3.1 Maui Version: 8.0.6

Steps to Reproduce:

Repro

https://github.com/MADSENSE/MADSENSE.MAUI.Sample.App/tree/BackgroundColor-not-work-with-dynamics

YZahringer commented 4 months ago

Working fine with Background={DynamicResource ...} instead of BackgroundColor={DynamicResource ...}

iUngerTime commented 4 months ago

Working fine with Background={DynamicResource ...} instead of BackgroundColor={DynamicResource ...}

Had the same issue and this worked for me.

EmanterolaDN commented 3 months ago

Working fine with Background={DynamicResource ...} instead of BackgroundColor={DynamicResource ...}

Thanks! Had same issue and workaround is also valid for me!

christianrr commented 3 months ago

However, BackgroundColor is not working in the current version and should be fixed (worked in version 1.2.0). Can confirm, that workaround with Background works!