Skip to content Skip to sidebar Skip to footer

Appcelerator: Proper Way Automatically Dismiss Keyboard

I'm writing an app using Titanium. I want to be able to automatically dismiss the keyboard anytime something outside of the text field is clicked. I have yet to find an elegant sol

Solution 1:

If I'm correct the click event propagates through all views and windows therefore your #1 option could be modified to check for clicks on the bottom most layer (view or window), check for its source then decide what to do.


Post a Comment for "Appcelerator: Proper Way Automatically Dismiss Keyboard"