Skip to content

Commit be8fe0d

Browse files
authored
fix: prevent pushModal from using unreleased Navigation instances during iOS modal animation by overlay on bluring (#7977)
1 parent f1b50d3 commit be8fe0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/kit/src/routes/Tab/Navigator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const useIsIOSTabNavigatorFocused =
2323
const isFocused = useRouteIsFocused();
2424
return isFocused;
2525
}
26-
: () => false;
26+
: () => true;
2727

2828
export function TabNavigator() {
2929
const { freezeOnBlur } = useContext(TabFreezeOnBlurContext);
@@ -40,7 +40,7 @@ export function TabNavigator() {
4040
<Portal.Container
4141
name={EPortalContainerConstantName.IN_PAGE_TAB_CONTAINER}
4242
/>
43-
{isFocused ? (
43+
{!isFocused ? (
4444
<Stack
4545
position="absolute"
4646
top={0}

0 commit comments

Comments
 (0)