How to detect 'go' press from ios keyboard with ion-searchbar Ionic 5

How can I detect when go is pressed on ios keyboard. I have an ion-search bar with (keyup.enter). This works well in the browser, but does not work on native iOS. When the go button is pressed I want the keyboard to close and the search function to be called. However, neither of these things happens at the moment and I cannot see a way to do this with the capacitor keyboard plugin?

Mhh maybe this is because of Capacitor, but (keyup.enter) works in my Cordova App

The answer was using (keypress) instead of (keyup.enter)

1 Like

Not working anymore in iOS. Do you know any walkaround?