nativescript-floatingactionbutton icon indicating copy to clipboard operation
nativescript-floatingactionbutton copied to clipboard

iOS Shadow

Open darkmantle opened this issue 6 years ago • 2 comments

For some reason shadow is not showing up on iOS (Angular). Not sure if it should be automatic or if I have to apply CSS shadows?

Using version 4.1.4

<FAB row="0" (tap)="fabTap()" icon="~/images/map.png" rippleColor="#f1f1f1" class="fab-button"></FAB>
.fab-button {
    height: 70;
    width: 70;
    margin: 15;
    background-color: white; 
    horizontal-align: right; 
    vertical-align: bottom; 
}

darkmantle avatar Feb 21 '19 17:02 darkmantle

Don't think the iOS version has a shadow implementation. Maybe it's been updated and we can update the plugin to use it if so. Or find a better FAB for iOS.

bradmartin avatar Feb 21 '19 18:02 bradmartin

Looks like it has options for shadow color, radius and opacity.

But I have no idea how to do plugins, or I'd submit a PR myself 😛

darkmantle avatar Feb 22 '19 09:02 darkmantle