nativescript-floatingactionbutton
nativescript-floatingactionbutton copied to clipboard
iOS Shadow
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;
}
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.
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 😛