Skip to content

Not seeing any toast. #73

Description

@quantumpotato
  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)

Activity

  1. AlexRAV commented on Apr 29, 2019

    @AlexRAV

    @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.

  2. hrithik2322 commented on Dec 11, 2019

    @hrithik2322

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

  3. rajeshgajraj commented on Jan 8, 2020

    @rajeshgajraj

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions