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

Impossible to add the background gradients feature on ContentPage iOS #11714

Closed
samirgcofficial opened this issue Nov 29, 2022 · 2 comments · Fixed by #11721
Closed

Impossible to add the background gradients feature on ContentPage iOS #11714

samirgcofficial opened this issue Nov 29, 2022 · 2 comments · Fixed by #11721
Assignees
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@samirgcofficial
Copy link
Contributor

samirgcofficial commented Nov 29, 2022

Description

Steps to Reproduce

Add this code to any of the content page

<ContentPage.Background> <LinearGradientBrush EndPoint="0,1"> <GradientStop Color="Yellow" Offset="0.1" /> <GradientStop Color="Green" Offset="1.0" /> </LinearGradientBrush> </ContentPage.Background> <ContentPage.Content> <Label Text="I love MAUI" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"/> </ContentPage.Content>

Link to public reproduction project repository

https://github.com/samirgcofficial/GradientBugMAUI

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 14

Did you find any workaround?

https://gist.github.com/vhugogarcia/b49af71df1e339626f758479d836b45a

Relevant log output

No response

@samirgcofficial samirgcofficial added the t/bug Something isn't working label Nov 29, 2022
@matt-goldman
Copy link
Contributor

I've noticed this too. On iOS a gradient background doesn't apply at startup, but Hot Reload will apply it if you change it at runtime.

I have a repro I can share privately if needed.

Possibly related: #10445

@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Nov 29, 2022
@jsuarezruiz jsuarezruiz added area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels Nov 29, 2022
@jsuarezruiz jsuarezruiz self-assigned this Nov 29, 2022
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Nov 29, 2022
@ghost
Copy link

ghost commented Nov 29, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

rmarinho added a commit that referenced this issue Feb 1, 2023
### Description of Change

Correctly render ContentPage brushes background on iOS/Catalyst.

<img width="346" alt="Captura de pantalla 2022-11-29 a las 10 55 29"
src="https://user-images.githubusercontent.com/6755973/204498173-44fee04c-2e26-4233-9c3c-bc6423bdc129.png">
<img width="464" alt="Captura de pantalla 2022-11-29 a las 10 45 23"
src="https://user-images.githubusercontent.com/6755973/204498190-9f0c8f81-ad80-4e83-a898-914c6dc640ec.png">

### Issues Fixed

Fixes #11714
@samhouts samhouts added the fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! label Feb 22, 2023
@samhouts samhouts modified the milestones: Backlog, 8.0-preview1 Feb 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2023
@Eilon Eilon removed the area-controls-pages Page types label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants