This repository has been archived by the owner on May 1, 2024. It is now read-only.
This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Path not rendered on page reload #12844
Closed
Description
Description
Using a Path to provide a shaped background on a page in a Shell app. The Path is correctly rendered on the initial page load but when you switch to another page then back to that page the Path is not rendered.
Steps to Reproduce
- Create a new project from the Mobile App (Xamarin Forms) template.
- Update the project to the Xamarin Forms v5 Nuget package and change Android Target Framework to 10.
- Replace the contents of the ItemsPage.xaml with the Path as below.
<Path
Aspect="Fill"
Data="m 0,0 h 100 v 41.910828 c 0,0 -14.861996,6.878981 -50,0 -35.138004,-6.878981 -50,0 -50,0 z"
StrokeThickness="0">
<Path.Fill>
<SolidColorBrush Color="DarkBlue" />
</Path.Fill>
</Path>
Expected Behavior
Path is displayed on the page.
Actual Behavior
Path is displayed on initial page load but when you navigate to the About page and back to the Browse page it is not rendered.
Basic Information
- Version with issue: 5.0.0.1558-pre3
- Last known good version: ?
- IDE: Visual Studio 2019
- Platform Target Frameworks:
- iOS: not tested
- Android: v10
- UWP: not tested
- Android Support Library Version:
- Nuget Packages: Xamarin.Forms (5.0.0.1558-pre3), NETStandard.Library (2.0.3)
- Affected Devices: