tbaggett / xfgloss

New styling properties for standard Xamarin.Forms controls
Other
160 stars 25 forks source link

Gradient does not work with AppShell #41

Open srqdev opened 4 years ago

srqdev commented 4 years ago

A curious one. I have a new Xamarin Forms app and it starts with a welcome page that uses XFGloss for diagonal gradients. After the Welcome screen is uses the Xamarin AppShell for the main part. The Android project works fine, Welcome page with gradient then AppShell pages. With iOS however the Welcome page works but the AppShell has a black background, nothing showing. What makes it curious is that just removing the code from the Welcome page that creates the background solves the issue and I get the AppShell again. If I bypass the Welcome page and go straight to the AppShell it still fails as long as I have the gradient code included. I've included a sample which demonstrates the issue. Note that this is in the iPhoneSimulator, so it is possible that it may work on an iOS device but it makes dev work problematic. TestAppShell.zip

tunbeo commented 4 years ago

Me too, I have the same problem with XFGloss, you must disable it from iOS project