Footer click event on ios


#1

i have toggle status between two div

one div contains attach button, input, send button
another div contains cancel button

when clicking cancel button, the view will switch to another, but it will bring up keyboard
it likes it trigger the focus event but not focus sign there,
it only happen your finger put in cancel button where the position also in the input area

is there a solution for this?
android work fine, but ios.

the ui would like this