Releases: santomegonzalo/react-native-floating-action
Releases · santomegonzalo/react-native-floating-action
New attributes 'showBackground' and 'openOnMount'
- showBackground: allow to show or hide background after open FAB
- openOnMount: allow to show FAB already open it when user mounts the component
These properties will help developers to use this floating action in different scenarios like tutorials.
new attribute 'onPressMain'
- Main button have a new attribute onPressMain and will return if the button is open or close as soon as a user click it. Some users are using it to override back button on android.
Remove 'opacity' animation on hide or show component
- Remove
opacity
animation when we hide or show the button because the animation had a weird behaviour
Fix "visible" property on initial value "false"
- Fix an error when we want to mount the component by default hidden.
distanceToEdge fix plus extra other fixes
- Fix edge position because actions looks weird
- Fix shadow of main action on iOS
Allow new distance between left / right sides
- This release includes a new property distanceToEdge to define the distance between left or right. ( thanks to @khrizt )
v1.3.1
Fix a bug when android API is less than 21.
Version 1.3.0
Merge pull request #6 from santomegonzalo/customizations Customizations