-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
LinearGradientBrush as background page has an issue on IOS screen rotation #23501
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
since this issue seems to have 0 priority right now, here a workaround that did the trick for me: protected override void OnSizeAllocated(double width, double height) |
Hi, thanks for this. |
For me helps use backgound not in ContentPage but in main layout. For example:
Problem No problem
|
Want to contribute to this problem.
|
Description
If you apply a LinearGradientBrush to the background of the page it works till you rotate the screen. If you rotate the screen the background is not applied to the full page but just half ( the remain part is white).
This happens just on IOS.
Steps to Reproduce
<ContentPage.Background> <LinearGradientBrush EndPoint="0,1"> <GradientStop Color="Yellow" Offset="0.0"/> <GradientStop Color="Orange" Offset="0.5"/> <GradientStop Color="Red" Offset="1.0"/> </LinearGradientBrush> </ContentPage.Background>
Link to public reproduction project repository
No response
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: