We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed50a34 + 4b77e01 commit 1760cf7Copy full SHA for 1760cf7
src/components/Search/SearchPageHeader/SearchPageHeaderInput.tsx
@@ -35,6 +35,7 @@ import variables from '@styles/variables';
35
import CONST from '@src/CONST';
36
import ONYXKEYS from '@src/ONYXKEYS';
37
import ROUTES from '@src/ROUTES';
38
+import KeyboardUtils from '@src/utils/keyboard';
39
import SearchTypeMenuPopover from './SearchTypeMenuPopover';
40
41
// When counting absolute positioning, we need to account for borders
@@ -252,7 +253,7 @@ function SearchPageHeaderInput({
252
253
onSearchQueryChange={onSearchQueryChange}
254
isFullWidth
255
onSubmit={() => {
- submitSearch(textInputValue);
256
+ KeyboardUtils.dismiss().then(() => submitSearch(textInputValue));
257
}}
258
autoFocus={false}
259
onFocus={onFocus}
0 commit comments