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

opaque background no longer supported on android #106

Open
jrboyer opened this issue Jan 23, 2024 · 17 comments
Open

opaque background no longer supported on android #106

jrboyer opened this issue Jan 23, 2024 · 17 comments

Comments

@jrboyer
Copy link

jrboyer commented Jan 23, 2024

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)

@FrankVDL-ZC
Copy link

I've went back to version 1.1.1 and also there the backgroundcolor does not work on Android

@jrboyer
Copy link
Author

jrboyer commented Jan 24, 2024

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.

@wint100
Copy link

wint100 commented Jan 25, 2024

Similar issue on iOS as well

@Victor-Porter
Copy link

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.

@jrboyer
Copy link
Author

jrboyer commented Jan 28, 2024

does the 1.2 version work with .net8.0? I hate to downlevel because ne8.0 addresses some issues for me.

@Victor-Porter
Copy link

does the 1.2 version work with .net8.0? I hate to downlevel because ne8.0 addresses some issues for me.

Yes

@LuckyDucko
Copy link
Owner

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.

@jrboyer
Copy link
Author

jrboyer commented Jan 30, 2024

I'm on a tight deadline for something else ATM, but I'll get this information to you before 8:00 AM 1/31.

@jrboyer
Copy link
Author

jrboyer commented Jan 31, 2024

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.

@jrboyer jrboyer closed this as completed Jan 31, 2024
@jrboyer jrboyer reopened this Jan 31, 2024
@jrboyer
Copy link
Author

jrboyer commented Jan 31, 2024

Sorry, hit wrong button. Definitely not closed.

@jrboyer
Copy link
Author

jrboyer commented Feb 4, 2024

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

@MitchBomcanhao
Copy link

MitchBomcanhao commented Feb 21, 2024

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"?

@BlueRaja
Copy link

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"?

@andreptcosta
Copy link

@BlueRaja it's work on 1.3.1 and Maui 8.0.10 also

@jrboyer
Copy link
Author

jrboyer commented Apr 17, 2024

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.

@thedee
Copy link

thedee commented Sep 23, 2024

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.

@IeuanWalker
Copy link
Contributor

@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

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

No branches or pull requests

10 participants