nativescript-floatingactionbutton
nativescript-floatingactionbutton copied to clipboard
Alpha colors
Hi, I've noticed a tiny bug with android version of FAB.
When you set the background-color to rgba value with non-zero and non-one alpha value, the background actually shrinks, leaving the shadow intact, making the fab look like a button in a button.
Steps to reproduce:
- create a sample app with FAB in the main view
- give it a class like
fab-transparent - create sass
.fab-transparentclass - create
background-color: rgba(255, 255, 255, 0.4)in the.fab-transparentclass (as it was in my case) - ???
- profit