Display overlay on top of default modal from react-native
Issue Description
I am using default react native Modal to show a screen and depending from some user interaction i am trying to show overlay, but its getting displayed under the modal, which i verified by dismissing the modal immediately and overlay was visible.
Is it even possible to show overlay on top of Modal ?
Steps to Reproduce / Code Snippets / Screenshots
`import React, { Component } from 'react' import { View, Text, Modal, } from 'react-native' import { Navigation } from 'react-native-navigation'
class App extends Component { constructor(props) { super(props) }
showSnackbar = (msg, type = 'info') => { Navigation.showOverlay({ component: { name: 'streak.toast', passProps: { msg, type, }, options: { overlay: { interceptTouchOutside: false, }, }, }, }) }
render() {
const { isVisible } = this.state
return (
class Add extends Component { componentDidMount = () => { this.props.showSnackbar('Hello from snackbar', 'success') this.showSnackbar('Hello from snackbar', 'success') }
showSnackbar = (msg, type = 'info') => { Navigation.showOverlay({ component: { name: 'streak.toast', passProps: { msg, type, }, options: { overlay: { interceptTouchOutside: false, }, }, }, }) }
render() {
return (
Environment
- React Native Navigation version: 2.13.1
- React Native version: 0.59.1
- Platform(s) (iOS, Android, or both?): both
- Device info (Simulator/Device? OS version? Debug/Release?): Device, both
i'm also sample issues. I hope who help me. Thank you
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
I am facing this similar issue! @sja1n did you find any solution for this ? :|
Same Issue @guyca