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

Enable for tab navigation #24

Open
nandorojo opened this issue Jul 22, 2022 · 4 comments
Open

Enable for tab navigation #24

nandorojo opened this issue Jul 22, 2022 · 4 comments

Comments

@nandorojo
Copy link

Could you recommend a way to add freezing to react navigation's blurred tabs?

@ponikar
Copy link

ponikar commented Nov 22, 2022

Any updates on this @nandorojo

@ponikar
Copy link

ponikar commented Nov 22, 2022

We are trying to achieve the same by using this pattern but not sure whether it is the right way to do it.

export const SettingsWrapper = (): JSX.Element => {
  const isFocused = useIsFocused();
  return (
    <Freeze freeze={!isFocused}>
      <SettingsContainer />
    </Freeze>
  );
};

@nandorojo
Copy link
Author

I think the tabs support freezing now as an option

@ponikar
Copy link

ponikar commented Nov 22, 2022

Can you elaborate more?

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