Material design action button for React Native
MIT License
Bot releases are hidden (Show)
Published by santomegonzalo about 6 years ago
Published by santomegonzalo over 6 years ago
There were some errors with the latest version of react and gradle 3 and 4 https://github.com/santomegonzalo/react-native-floating-action/issues/45 and https://github.com/facebook/react-native/issues/16906 so I decided to replace the image with a simple react component.
Published by santomegonzalo over 6 years ago
Thanks to @hashmatmuqbil . I introduced a feature so the button will always be visible when the keyboard will appear.
The main component now have two new properties:
listenKeyboard
will enable the keyboard listeners to move up and down when the keyboard appear and hidedismissKeyboardOnPress
this property is related to listenKeyboard
, now the user have the possibility to hide the keyboard when the user click the main button. This is because sometimes we have a big a list of actions and listenKeyboard
could ended up showing actions outside the screen.Published by santomegonzalo over 6 years ago
Thanks for the support, today we are realising a new version with the following features:
render
function. To create your own component, please check expo and scroll down to see some examples. Thanks a lot @hedvigoscariconWidth
and iconHeight
, this will help us to support network images. Thanks a lot @dopey2Published by santomegonzalo over 6 years ago
Android has errors when we use interpolations with initial value 1. I added a new fade animation that will not bring any performance issue.
More about this bug https://github.com/facebook/react-native/issues/6278
Published by santomegonzalo over 6 years ago
Deprecations:
buttonColor
property was deprecated, today will show warnings, please use color
elevation
property was deprecated, today will show warnings, please use textElevation
Published by santomegonzalo over 6 years ago
We introduce a breaking change but for now, the old way is still supported
New properties
textColor
instead of actionsTextColor
textBackground
instead of actionsTextBackground
Published by santomegonzalo over 6 years ago
With the new examples, we need to upgrade our Property component.
Published by santomegonzalo over 6 years ago
We decided to change the name for these properties applied on Actions and not Main Action:
actionsTextBackground
in favor of textBackground
actionsTextColor
in favor of textColor
Published by santomegonzalo over 6 years ago
actionsPaddingTopBottom
to define the distance between actions. This property is defined on FloatingAction and not on FloatingActionItem
Published by santomegonzalo over 6 years ago
These properties will help developers to use this floating action in different scenarios like tutorials.
Published by santomegonzalo over 6 years ago
Published by santomegonzalo almost 7 years ago
opacity
animation when we hide or show the button because the animation had a weird behaviourPublished by santomegonzalo almost 7 years ago
Published by santomegonzalo almost 7 years ago
Published by santomegonzalo almost 7 years ago
Published by santomegonzalo about 7 years ago
Fix a bug when android API is less than 21.
Published by santomegonzalo about 7 years ago