Losing focus is the problem. This looks like a bug. Return and "Shift Return" should NOT lose focus - especially if it's intercepted with the "onKeyPress" method.
Is this a known bug? Will it be fixed soon? It works properly with the soft keyboard.