Skip to content

Shimmer/Skeleton is not working for label on iOS #24

Open
@iamchandanys

Description

The below piece of code is working differently on both Android & iOS. I mean the Skeleton for label is not displaying on iOS but the same is displaying on Android. The Android & iOS screenshot is attached at the bottom.

<StackLayout 
        Spacing="50"
	Padding="16"
	Margin="0,0,0,10"
	sk:Skeleton.IsParent="True"
	sk:Skeleton.IsBusy="{Binding ShowShimmer}"
	sk:Skeleton.Animation="{sk:DefaultAnimation Fade, Interval=300}"
	sk:Skeleton.BackgroundColor="{StaticResource ShimmerPrimary}">

	<StackLayout Spacing="16" Orientation="Horizontal">

		<ffimageloading:CachedImage 
                        WidthRequest="80"
			HeightRequest="80"
	                sk:Skeleton.IsBusy="{Binding ShowShimmer}"
			sk:Skeleton.BackgroundColor="{StaticResource ShimmerSecondary}" />

		<StackLayout Spacing="2" HorizontalOptions="FillAndExpand">

			<Label FontSize="Small"
				   sk:Skeleton.IsBusy="{Binding ShowShimmer}"
				   sk:Skeleton.BackgroundColor="{StaticResource ShimmerSecondary}" />

			<Label FontSize="Small"
				   sk:Skeleton.IsBusy="{Binding ShowShimmer}"
				   sk:Skeleton.BackgroundColor="{StaticResource ShimmerSecondary}" />

		</StackLayout>
		
	</StackLayout>
</StackLayout>

Android Screenshot:

Android

iOS Screenshot:

iOS

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions