react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Toast message not working as expected while navigating

Open kartiksach opened this issue 6 years ago • 2 comments

I'm trying to add a toast message on successful signup. However, the toast message doesn't stick to the screen for the mentioned amount of time(in my case 2000ms). It is instantaneously going to the next line to navigate to the next page and hence the toast message is only displayed for split second. Any idea, how to tackle this?

this.refs.toast.show('User added successfully', 2000); this.props.navigation.navigate('LoginScreen');

kartiksach avatar Mar 31 '19 15:03 kartiksach

@kartiksach any luck?

Sajid-Ali avatar Jun 19 '19 09:06 Sajid-Ali

@kartiksach any update?

SantyLorenzo-zz avatar Aug 27 '19 15:08 SantyLorenzo-zz