11import React , { ReactElement , memo , useState , useEffect } from 'react' ;
22import { useTranslation } from 'react-i18next' ;
3- import { Image , StyleSheet , View } from 'react-native' ;
4- import { FadeIn , FadeOut } from 'react-native-reanimated' ;
3+ import { Image , Platform , StyleSheet , View } from 'react-native' ;
4+ import Animated , { FadeIn , FadeOut } from 'react-native-reanimated' ;
55
66import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader' ;
77import GradientView from '../../../components/GradientView' ;
@@ -27,7 +27,7 @@ import {
2727 updatePendingInvoice ,
2828} from '../../../store/slices/metadata' ;
2929import { removeInvoiceTag , updateInvoice } from '../../../store/slices/receive' ;
30- import { AnimatedView , BottomSheetTextInput } from '../../../styles/components' ;
30+ import { BottomSheetTextInput } from '../../../styles/components' ;
3131import { TagIcon } from '../../../styles/icons' ;
3232import { Caption13Up } from '../../../styles/text' ;
3333import { estimateOrderFee } from '../../../utils/blocktank' ;
@@ -174,11 +174,12 @@ const ReceiveDetails = ({
174174 </ View >
175175
176176 { ! keyboardShown && (
177- < AnimatedView
177+ < Animated . View
178178 style = { styles . bottom }
179- color = "transparent"
180179 entering = { FadeIn }
181- exiting = { FadeOut } >
180+ // FadeOut causing a bug on Android
181+ exiting = { Platform . OS === 'ios' ? FadeOut : undefined }
182+ >
182183 < Caption13Up style = { styles . label } color = "secondary" >
183184 { t ( 'tags' ) }
184185 </ Caption13Up >
@@ -209,7 +210,7 @@ const ReceiveDetails = ({
209210 < Image style = { styles . image } source = { imageSrc } />
210211 </ View >
211212 ) }
212- </ AnimatedView >
213+ </ Animated . View >
213214 ) }
214215
215216 < View style = { styles . buttonContainer } >
0 commit comments