My React Native app has a search screen(Page A) that goes back to the previous page when hiding the keyboard; Clicking on the search results will take you to the search results page(Page B). The problem is that clicking on a search result hides the keyboard, making the KeyboardHide event activated. The KeyboardHide event will cause a return to the previous page, causing the jump to page B to never be executed.
Is there a way to prevent hiding the keyboard when I press on another pressable component so that the KeyboardHide event doesn’t fire
Elton11220 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.