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

Where to add slider to be accessible anytime and full screen #253

Open
jan-ambroz opened this issue Oct 29, 2021 · 0 comments
Open

Where to add slider to be accessible anytime and full screen #253

jan-ambroz opened this issue Oct 29, 2021 · 0 comments

Comments

@jan-ambroz
Copy link

Hi,
I created my DemoSlider view and I am trying to show it the first time when login in and then be able to show on demand. Not sure where to place DemoSlider that it will be full screen and tab navigation will be covered too.

App.tsx
export default () => {
  const navigation = useRef(null);
  return (
    <Provider store={store}>
      <NavigationContainer ref={navigation}>
        <DemoSlider/>
        {/*<App navigation={navigation} />*/}
        {/* GLOBAL FLASH MESSAGE COMPONENT INSTANCE */}
        <FlashMessage position="top" />
      </NavigationContainer>
    </Provider>
  );
};

And then in DemoSlider onDone() return App after DemoSlider is done?
But when I try to return DemoSlider from another view the navbar is always showing.
Where to correctly add DemoSllider?

Thank you

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

1 participant