Is there a way to stop its unique function like preventDefualt() on searchbar?

when user click searchbar, keyboard is open automatically,
but I want to stop this function so that I can handle when to open keyboard.
I have ionic native keyboard installed so I can open keyboard on my own,
but I don’t know how to prevent it from being opened on touch of search bar.