Skip to content

Conversation

@chitrangsinghvi
Copy link

@chitrangsinghvi chitrangsinghvi commented Jan 23, 2017

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

@chitrangsinghvi chitrangsinghvi changed the title Updating Message in Toast if message prop is updated Updating Message in Toast if message prop is updated and updating toast position on screen orientation change Mar 24, 2017
@zhuyifan2013
Copy link

@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

@dudash
Copy link

dudash commented Nov 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants