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

Opening a Modal from a Modal #58

Closed
impuulse opened this issue Aug 17, 2017 · 1 comment
Closed

Opening a Modal from a Modal #58

impuulse opened this issue Aug 17, 2017 · 1 comment
Labels

Comments

@impuulse
Copy link

<Modal isVisible={this.props.isFirstModalVisible}>
    <View>
        <TouchableOpacity onPress={() => this.props.showSecondModal()}>
               <Text>{'show second modal'}</Text>
         </TouchableOpacity>
    </View>
</Modal>

<Modal isVisible={this.props.isSecondModalVisible}>
    <View>
        <Text>{'Hello World'}</Text>
    </View>
</Modal>

<TouchableOpacity onPress={() => this.props.showFirstModal()}>
     <Text>{'show first modal'}</Text>
</TouchableOpacity>

second modal doesn't open, i'm using redux
plz help

@mmazzarolo
Copy link
Member

mmazzarolo commented Aug 17, 2017

I'm sorry @impuulse but the info you're providing are not detailed enough for me to understand your issue.

Please take a look at the issue template below and make sure to complete all the required steps, it will speed up the issue resolution.


When reporting a bug, please be sure to check if the issue still persists with react-native original modal:

Under the hood react-native-modal uses react-native original Modal component.
Before reporting a bug, try swapping react-native-modal with react-native original Modal component to check if the problem persists.

When reporting a bug, please be sure to include the following:

  • The outcome of the react-native-modal swap described above
  • A descriptive title
  • An isolated way to reproduce the behavior (example: GitHub repository with code isolated to the issue that anyone can clone to observe the problem)
  • What version of react-native-modal you're using, and the platform(s) you're running it on (iOS, Android, device)
  • What packages or other dependencies you're using
  • The behavior you expect to see, and the actual behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants