- Home
- Forum
- Xamarin.Forms
- Problem removing shadow on iOS
Problem removing shadow on iOS
Following your guide: https://help.syncfusion.com/xamarin/popup/faq?cs-save-lang=1&cs-lang=xaml

I tried to remove the shadow in a popup that I customized using a specific ContentTemplate.
I declared all the attributes that should remove the shadow, in this way:
<sfPopup:SfPopupLayout
xmlns:sfPopup="clr-namespace:Syncfusion.XForms.PopupLayout;assembly=Syncfusion.SfPopupLayout.XForms"
x:Name="popupLayout"
ShowOverlayAlways="False">
<sfPopup:SfPopupLayout.PopupView>
<sfPopup:PopupView
AnimationMode="Zoom"
ShowFooter="False"
ShowHeader="False"
AutoSizeMode="Height"
WidthRequest="{Binding PopupWidth}">
<sfPopup:PopupView.PopupStyle>
<sfPopup:PopupStyle
OverlayOpacity="0"
OverlayColor="Transparent"
BorderColor="Transparent"
BorderThickness="0"
HasShadow="False">
<sfPopup:PopupStyle.CornerRadius>
<OnPlatform
x:TypeArguments="x:Int32"
Android="20"
iOS="10" />
</sfPopup:PopupStyle.CornerRadius>
</sfPopup:PopupStyle>
</sfPopup:PopupView.PopupStyle>
<sfPopup:PopupView.ContentTemplate>
/* HERE THERE IS MY CUSTOM LAYOUT */
</sfPopup:PopupView.ContentTemplate>
</sfPopup:PopupView>
</sfPopup:SfPopupLayout.PopupView>
but as you can see in this screenshot I continue to see a shadow under the popup:
the problema happens only in iOS, I'm using 18.1.0.54 version of sfPopupLayout
SIGN IN To post a reply.
4 Replies
1 reply marked as answer
KK
Karthikraja Kalaimani
Syncfusion Team
June 5, 2020 12:20 PM UTC
Hi Fabbio,
Currently, we are validating the reported issue “PopupView Shadow is not removed in IOS”. We will validate and update you further details on or before 9th June 2020. We appreciate your patience until then.
Regards,
Karthik Raja
Currently, we are validating the reported issue “PopupView Shadow is not removed in IOS”. We will validate and update you further details on or before 9th June 2020. We appreciate your patience until then.
Regards,
Karthik Raja
PK
Pradeep Kumar Balakrishnan
Syncfusion Team
June 11, 2020 08:52 PM UTC
Hi Fabio,
Thank you for your patience.
we have checked the Popup code snippet and popupview screenshot. In the screenshot shadow is applied to popupview is looks like xamarin forms Frame Layout Shadow. Hence we suspect that you are using Frame Layout as PopupView content template. If so please define HasShadow="False" for your Frame to resolve the reported issue.
Regards,
Pradeep Kumar B
Marked as answer
FG
Fabio Giacomelli
June 12, 2020 12:28 PM UTC
Thank you, with your last suggestion the problem is solved
PK
Pradeep Kumar Balakrishnan
Syncfusion Team
June 14, 2020 05:28 PM UTC
Hi Fabio,
We are glad that the given solution meets your requirement. Please get in touch with us if you would require any further assistance.
Regards,
Pradeep Kumar B
SIGN IN To post a reply.
- 4 Replies
- 3 Participants
- Marked answer
-
FG Fabio Giacomelli
- Jun 4, 2020 12:15 PM UTC
- Jun 14, 2020 05:28 PM UTC