Closed hannah-dev92 closed 2 months ago
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Duplicate of #23501
Description
Background color not covering the screen when changing device orientation
Steps to Reproduce
Create a LinearGradientBrush Style
<LinearGradientBrush x:Key="Gradient_L0" EndPoint="0,1"> <GradientStop Color="{DynamicResource Primary}" Offset="0" /> <GradientStop Color="{DynamicResource Tertiary}" Offset="1" /> </LinearGradientBrush>
Set the background property to the LinearGradient Brush<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MauiApp3.MainPage" Background="{DynamicResource Gradient_L0}">
change Device Orientation on iPad or iPhone -> only part of the screen is covered with expected background colorLink to public reproduction project repository
https://github.com/hannah-dev92/Maui-Background-Example/tree/master
Version with bug
8.0.7 SR2
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
iOS 17.0
Did you find any workaround?
No response
Relevant log output
No response