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

[Bug] Popup color not applied on ios #499

Closed
yurkinh opened this issue Jul 19, 2022 · 3 comments
Closed

[Bug] Popup color not applied on ios #499

yurkinh opened this issue Jul 19, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@yurkinh
Copy link

yurkinh commented Jul 19, 2022

Description

Setting Color on Popup page is ignored on iOS.
While it works fine on Android

Link to Reproduction Sample

Sample.zip

Steps to Reproduce

  1. Run the attached sample on ios
  2. Press the button "Show" Popup
  3. Notice that popup background is not Transparent

Expected Behavior

Popup background is Transparent

Actual Behavior

Popup background is default grey (on ios)

  • Version with issue:
  • Platform Target Frameworks:
    • iOS:

Reproduction imagery

@yurkinh yurkinh added bug Something isn't working unverified labels Jul 19, 2022
@pictos
Copy link
Member

pictos commented Jul 20, 2022

@yurkinh I believe this is the normal behavior for iOS. My first test was changing the Popup.Color to Red and that work as expected as you can see in the screenshot below:
Screen Shot 2022-07-19 at 20 57 41

Second I debug the code to see if for some reason the Colors.Transparent were converted wrong, and looks like that isn't the case as well. So I would say this is the normal behavior on Apple's platform.

If you don't want that extra space, don't use the Size property, that way the Popup you measure itself, doing that, and some changes to your layout you will be able to not have that extra space.

And remember to use the Vertical/HorizontalOptions = Center if you want the Popup to be centered on the screen.

Not sure if you reported the error, but I saw a NRE on DrawingView when I press the Done button.

@pictos pictos added question Further information is requested and removed bug Something isn't working unverified labels Jul 20, 2022
@yurkinh
Copy link
Author

yurkinh commented Jul 20, 2022

Hi @pictos ,
Thanks for the explanation regarding popup background color.
Yes, I have reported NRE here.
I just made one sample for two issues)

@MGohil
Copy link

MGohil commented Nov 24, 2022

@pictos

Does this mean that I will not be able to achieve the similar result in iOS as like in Android in below screenshot?

Is there any way to prevent that grey background and keep the content attached to the bottom and touching to both (Left and Right) edges in iOS?

popup-bug

@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants