Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
darko-bw opened this issue Apr 11, 2021 · 0 comments
Closed

Comments

@darko-bw
Copy link

darko-bw commented Apr 11, 2021

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.

@darko-bw darko-bw closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant