Mopups
Mopups copied to clipboard
opaque background no longer supported on android
BackgroundColor="#80000000" used to provide a way to make the popup opaque to the background. This appears to no longer be the case in the latest version (1.3)
I've went back to version 1.1.1 and also there the backgroundcolor does not work on Android
I updated to .net 8 from .7, and at that point updated the package as well. I can't say precisely when this was broken, but it is most definitely broken in 1.3, and this flaw makes mopups essentially unusable for android.
Similar issue on iOS as well
Until now I was using 1.2.0 version and the BackgroundColor property in a mopup worked correctly on all platforms..
Upgrading to 1.3.0 does not work on Windows either.
does the 1.2 version work with .net8.0? I hate to downlevel because ne8.0 addresses some issues for me.
does the 1.2 version work with .net8.0? I hate to downlevel because ne8.0 addresses some issues for me.
Yes
Huh, okay, i'll jump on this pain point.
Just some quick checks, can anyone download the project and make it a project reference instead of a nuget reference
Then go to the PopupPage.cs file, in its constructors, revert backgroundColor to set itself as Color.FromArgb("#80000000");
This was changed to help get a transparent background for iOS.
I'm on a tight deadline for something else ATM, but I'll get this information to you before 8:00 AM 1/31.
If you live in Hawaii, this will be on time, based on projection above, which has no TZ...
Anyway, this does does not appear to make any difference on android. I don't currently develop for iOS, so I can't help you there.
Sorry, hit wrong button. Definitely not closed.
I have verified that background color as transparent in android still works in 1.2 and 1.1.1 it definitely does not work in 1.3
I don't understand this report
BackgroundColor="#80000000" used to provide a way to make the popup opaque to the background
well, what you wrote there is a transparent color, so naturally it shouldn't be "opaque"?
I just tried BackgroundColor="#88000000"
in Mopups 1.3.0 and Maui 8.0.7, and the background is correctly partially transparent, while the popup itself is fully opaque, as expected.
Could someone explain what the poster means by "the popup should be opaque to the background"?
@BlueRaja it's work on 1.3.1 and Maui 8.0.10 also
I just tried
BackgroundColor="#88000000"
in Mopups 1.3.0 and Maui 8.0.7, and the background is correctly partially transparent, while the popup itself is fully opaque, as expected.Could someone explain what the poster means by "the popup should be opaque to the background"?
Sure. using #80000000 for background used to produce an effect where the full page background was visible EXCEPT the area covered by the Popup was opaque. In the version(s) noted, the entire background is now transparent, INCLUDING the Popup area, which leads to very ugly looking inputs.
Not sure if this is what they are talking about but on Android and iOS when the popup shows the page behind the popup doesn't dim or fade. The page behind the popup should dim so the popup sticks out more.
@thedee can you create a repo.
Ive been using it for android and iOS for about a year now, and the background works as expected