forked from vergnet/application-amicale
Fix animated fab position
This commit is contained in:
parent
df8f1cab24
commit
74f757ce66
1 changed files with 8 additions and 9 deletions
|
@ -77,15 +77,14 @@ export default class AnimatedFAB extends React.Component<PropsType> {
|
|||
render() {
|
||||
const {props} = this;
|
||||
return (
|
||||
<Animatable.View ref={this.ref} useNativeDriver={true}>
|
||||
<FAB
|
||||
icon={props.icon}
|
||||
onPress={props.onPress}
|
||||
<Animatable.View
|
||||
ref={this.ref}
|
||||
useNativeDriver={true}
|
||||
style={{
|
||||
...styles.fab,
|
||||
bottom: CustomTabBar.TAB_BAR_HEIGHT,
|
||||
}}
|
||||
/>
|
||||
}}>
|
||||
<FAB icon={props.icon} onPress={props.onPress} />
|
||||
</Animatable.View>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue