react-freeze
react-freeze copied to clipboard
Enable for tab navigation
Could you recommend a way to add freezing to react navigation's blurred tabs?
Any updates on this @nandorojo
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>
);
};
I think the tabs support freezing now as an option
Can you elaborate more?