View Full Version : Universal tap event interceptor?

15 Aug 2013, 2:01 AM
How do you create a global interceptor/ listener for all the tap events in the app? Or is there a way in Sencha to intercept methods given a wild char method name? (e.g. I want to intercept all methods starting with 'onTap' in the app.)

The reason for this is I'm encountering a problem in Android wherein the keyboard does not automatically hide after you click on a different area or when you click a tab, etc. I'm thinking of creating an interceptor/ listener for all the onTap events to hide the keyboard when it is shown.

19 Aug 2013, 4:07 PM
You can probably do something like this:

28 Aug 2013, 6:10 PM
@fmoseley: Thanks for the link! However, it seems that I do not have access on it. When I click it, it says that I do not have permission to access the page.