Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not seeing any toast. #73

Open
quantumpotato opened this issue Apr 20, 2019 · 3 comments
Open

Not seeing any toast. #73

quantumpotato opened this issue Apr 20, 2019 · 3 comments

Comments

@quantumpotato
Copy link

  return (
      <KeyboardAvoidingView
        style={styles.wrapper}
        enabled
        keyboardVerticalOffset={100}>
        <ScrollView contentContainerStyle={styles.container}>
          <Toast ref="toast" />
                 <BigButton
            buttonText="tap here!"
            onPress={this.showmytoast}
          />
        </ScrollView>
      </KeyboardAvoidingView>
    )
  }

showmytoast = () => {
this.refs.toast.show("Hello world", 500)

@AlexRAV
Copy link

AlexRAV commented Apr 29, 2019

@quantumpotato hi. Possibly, your toast appeared behind the keyboard. I don't know how to solve this issue. I just face this issue and wonder how to fix it.

@hrithik2322
Copy link

you can hide keyboard before making the toast appear.Maybe it can work

@rajeshgajraj
Copy link

you can hide keyboard before making the toast appear.Maybe it can work

Or you can set the position of Toast to top. e.g. position: 'top'

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

No branches or pull requests

4 participants