Decimal soft keypad on iPhone no Enter or Done key, cannot dismiss keypad

hello

does anyone have issues with the decimal softkey pad on iPhones not having a “Enter” key or “Done” key? i have used the inputType = decimal in the code for my App.  before i had used the “phone” keypad and it worked but now i want to use the decimal keypad as it fits better with my App.

i attach a screen shot of what the keypad looks like on my iphone 6 plus.

there is no way to dismiss the keypad.

my app was built with 2017.3154.

Regards

Bruce

In most iOS apps tapping outside the the keyboard dismisses the keyboard. You can set up a touch handler behind your keyboard and then set the native.setKeyboardFocus( nil ) to dismiss the keyboard.

Rob

Rob

does that mean i have to code the correct repsonse to dismissing the keyboard in this case?  before the keyboard (phone or general input) had a “done” key or “enter” key and this fired my event.ended event.  now i will have to code separately a response to touching the backgorund outside the keyboard, to simulate the “done” key. is that correct?

regards

bruce

That is correct. On phones, the numeric type keyboards don’t have  enter buttons. Just detect a tap/touch outside the keyboard and dismiss it.

Rob

In most iOS apps tapping outside the the keyboard dismisses the keyboard. You can set up a touch handler behind your keyboard and then set the native.setKeyboardFocus( nil ) to dismiss the keyboard.

Rob

Rob

does that mean i have to code the correct repsonse to dismissing the keyboard in this case?  before the keyboard (phone or general input) had a “done” key or “enter” key and this fired my event.ended event.  now i will have to code separately a response to touching the backgorund outside the keyboard, to simulate the “done” key. is that correct?

regards

bruce

That is correct. On phones, the numeric type keyboards don’t have  enter buttons. Just detect a tap/touch outside the keyboard and dismiss it.

Rob