You can test yourself by cloning this repo https://github.com/sey/ios-keyboard-test .
The problem is this:
When you enter text in UITextField, and you want to quickly press a button whose position is close to the keyboard, the button does not receive a touch event at first. You need to wait a short amount of time before clicking on a button.
In a linked project, a button action is set to delete a text field. If you enter text and quickly click the button, you will see that the text field is not cleared, and you will have to click the button again. If you click on the button located on top of the text box (not close to the keyboard), everything will work as expected.
I suspect this is a bug from Apple. And I suspect this is due to the fact that some keys on the keyboard show other keys when you press them for a long time (for example, E, U). And, perhaps, the hidden frame does not allow you to touch the button immediately after entering text.
My questions:
- Can you reproduce the error? And did you know that it was already
- with a workaround or otherwise?
[EDIT] Please check in landscape mode.
source
share