diff --git a/src/pages/Search/useCustomBackHandler/index.android.ts b/src/pages/Search/useCustomBackHandler/index.android.ts index cc9d5d3ca198..f168cb0b9008 100644 --- a/src/pages/Search/useCustomBackHandler/index.android.ts +++ b/src/pages/Search/useCustomBackHandler/index.android.ts @@ -7,6 +7,8 @@ import type {RootStackParamList, State} from '@libs/Navigation/types'; import NAVIGATORS from '@src/NAVIGATORS'; import SCREENS from '@src/SCREENS'; +// We need to make sure that the central pane screen and bottom tab won't be desynchronized after using the physical back button on Android. +// To achieve that we will call additional POP on the bottom tab navigator if the search page would disappear from the central pane. function useCustomBackHandler() { useFocusEffect( useCallback(() => {