I’m having an issue in iOS where, if I open a pop-up and then close the native keyboard prior to closing the pop-up, the keyboard will re-open after the pop-up is dismissed. IS there any way to prevent this from happening?
Pop-up opens:
Click in the background and keyboard closes:
Click Cancel or Submit to dismiss pop-up and keyboard re-opens:
i think if you click on the button the event is propagated to the input field in the background (search field). try to tap on the part of the cancel or submit button where there is no input field in the background for testing.
Thanks. That does appear to be the issue. When I click on the part of either of the buttons that is not over the search field, then the click is not propagated and the keyboard does not open.
However, adding e.stopPropagation does not appear to fix the issue. Here is my popup setup with it added:
I am still seeing the keyboard open after the pop-up closes if the keyboard was closed prior to clicking either the Cancel button or the Submit button.