Skip to content

Commit

Permalink
Merge pull request #49236 from bernhardoj/fix/49080-press-enter-open-…
Browse files Browse the repository at this point in the history
…ws-switcher-or-rhp

Fix press enter open WS switcher or report RHP in search page
  • Loading branch information
luacmartins committed Sep 17, 2024
2 parents bc29cad + 8ba1afb commit ece900c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/FocusTrap/BOTTOM_TAB_SCREENS.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NAVIGATORS from '@src/NAVIGATORS';
import SCREENS from '@src/SCREENS';

const BOTTOM_TAB_SCREENS = [SCREENS.HOME, SCREENS.SETTINGS.ROOT, NAVIGATORS.BOTTOM_TAB_NAVIGATOR];
const BOTTOM_TAB_SCREENS = [SCREENS.HOME, SCREENS.SETTINGS.ROOT, NAVIGATORS.BOTTOM_TAB_NAVIGATOR, SCREENS.SEARCH.BOTTOM_TAB];

export default BOTTOM_TAB_SCREENS;
2 changes: 0 additions & 2 deletions src/components/SelectionList/Search/ActionCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function ActionCell({action = CONST.SEARCH.ACTION_TYPES.VIEW, isLargeScreenWidth
text={translate(actionTranslationsMap[CONST.SEARCH.ACTION_TYPES.VIEW])}
onPress={goToItem}
small
pressOnEnter
style={[styles.w100]}
innerStyles={buttonInnerStyles}
link={isChildListItem}
Expand All @@ -84,7 +83,6 @@ function ActionCell({action = CONST.SEARCH.ACTION_TYPES.VIEW, isLargeScreenWidth
text={text}
onPress={goToItem}
small
pressOnEnter
style={[styles.w100]}
innerStyles={buttonInnerStyles}
/>
Expand Down

0 comments on commit ece900c

Please sign in to comment.