Hi all,
How to hide the keyboard when i tap somewhere except for the textfield?
1 Answer
on you view on which textfield is attached , add a 'click' event listener , and within that listener call textfield.blur();
view.add(textfield);// this is view on which your text filed is attached . view.addEventListener("click",function(e){ textfield.blur(); // this will hide keyboard , if its opened before });
Your Answer
Think you can help? Login to answer this question!