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

Updating Message in Toast if message prop is updated and updating toast position on screen orientation change

Open chitrangsinghvi opened this issue 9 years ago • 2 comments

  • updating message in toast if message prop passed is updated.
  • animation on closing toast externally
  • support for screen orientation

chitrangsinghvi avatar Jan 23 '17 14:01 chitrangsinghvi

@chitrangsinghvi there is no need to be so complicated , just do this : change the

style={[ styles.defaultStyle, position]}

to

style={[ styles.defaultStyle, position , {width: Dimensions.get('window').width}]}

and delete the width prop in styles.defaultStyle

zhuyifan2013 avatar Jul 12 '17 07:07 zhuyifan2013

Any idea if/when this PR could merge? would be nice to have rotation support for long lived toasts...

dudash avatar Nov 21 '17 23:11 dudash