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

Lightbox not transparent #2061

Closed
alexwasner opened this issue Jul 18, 2017 · 2 comments
Closed

Lightbox not transparent #2061

alexwasner opened this issue Jul 18, 2017 · 2 comments

Comments

@alexwasner
Copy link

Hey aksonov,
We are having difficulty getting a transparent modal to pop up over our home screen. Perhaps this is related to #2033, or we may just be doing something wrong. Here is our router stack:

            <Provider {...stores}>
                <Router createReducer={reducerCreate}  {...sceneConfig}>
                  <Scene key=“lightbox” lightbox  {...sceneConfig}>
                    <Scene key=“modal” modal hideNavBar  {...sceneConfig}>
                      <Scene key=“root” hideNavBar hideTabBar>
                          <Scene key=“login” component={Login}  type=‘reset’ direction=‘vertical’/>
                          <Scene key=“splash” component={SplashScreen} initial type=‘reset’/>
                          <Scene key=“home” component={Home} type=‘reset’ direction=‘vertical’></Scene>
                      </Scene>
                      <Scene key=“test” component={Modal} />
                    </Scene>
                  </Scene>
                </Router>
            </Provider>

We've moved around sceneConfigs to a few different spots to see if we can get it to do something different to no avail. Thanks in advanced!

@aksonov
Copy link
Owner

aksonov commented Jul 18, 2017

Could you check Example project? It has Error lightbox and it is transparent.
Btw, you may pass sceneConfig just once, within Router.

@alexwasner
Copy link
Author

@aksonov Oops. I thought I had copied exactly, but I had it at the modal level. Thanks

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

2 participants