Skip to content

Box shadow on StackLayout, GridLayout and other is broken on iOS #4

Closed
@darko-bw

Description

@darko-bw

Hi guys,

Please try to use this code:

<GridLayout rows="auto,*,auto" columns="*">
        <Label text="Pager With List"/>
        <c:Pager circularMode="false" spacing="0" peaking="25" selectedIndex="1" height="400" showIndicator="true" indicatorColor="purple" indicatorSelectedColor="blue" row="1" id="pager" backgroundColor="lightsteelblue">
            <c:PagerItem class="slide" margin="10">
                <StackLayout padding="10"  class="slide">
                    <StackLayout rows="auto" columns="auto">
                        <Label text="First" height="100%" />
                    </StackLayout>
                </StackLayout>
            </c:PagerItem>
            <c:PagerItem>
                <StackLayout rows="auto" margin="10"  class="slide">
                    <Label text="Second" height="100%" />
                </StackLayout>
            </c:PagerItem>
            <c:PagerItem>
        </c:Pager>
        <Button text="Nav" row="2" tap="navigate"/>
    </GridLayout>

.slide {
box-shadow: 0 0 2 2 rgba(0,0,0,0.3);
}
And you an see that shadows are not working properly.

Metadata

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