Skip to content

iOS Shadow applying to child #17

@darkmantle

Description

@darkmantle

This is happening on iOS, but not tested it on Android. Using latest versions of TNS, Angular and this plugin.

I have the following layout. If I put shadow/elevation onto the AbsoluteLayout it stops working and the layout no longer appears (it's a custom bottom sheet that appears on pressing a button). If I put the shadow onto the GridLayout it applies it to the children and not the GridLayout!

<AbsoluteLayout visibility="{{showPicker ? 'visible' : 'hidden'}}" #abLayout row="0">
            <GridLayout rows="auto, *" height="200" width="100%">
                <FlexboxLayout row="0" justifyContent="space-between" class="pickerBox">
                    <Label (tap)="dateCancel()" text="Cancel" class="pickerText"></Label>
                    <Label (tap)="dateSet()" text="Set" class="pickerText"></Label>
                </FlexboxLayout>
                <DatePicker (dateChange)="onDateChanged($event)" row="1" #datePick height="180"></DatePicker>
            </GridLayout>
        </AbsoluteLayout>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions