react-freeze icon indicating copy to clipboard operation
react-freeze copied to clipboard

Enable for tab navigation

Open nandorojo opened this issue 3 years ago • 4 comments

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

nandorojo avatar Jul 22 '22 18:07 nandorojo

Any updates on this @nandorojo

ponikar avatar Nov 22 '22 08:11 ponikar

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>
  );
};

ponikar avatar Nov 22 '22 08:11 ponikar

I think the tabs support freezing now as an option

nandorojo avatar Nov 22 '22 11:11 nandorojo

Can you elaborate more?

ponikar avatar Nov 22 '22 11:11 ponikar