Results 1 to 3 of 3

Thread: Android Keyboard do not hide after texbox blur and number keyboard issue.

  1. #1

    Default Android Keyboard do not hide after texbox blur and number keyboard issue.


    I am attaching tap event on the form panel for focus blur from all the textboxes.

    Ext.define('XXXXX.view.default.Login', {     extend: 'Ext.form.Panel',     xtype: 'login',     initialize: function() {         var me = this;         this.element.on({             scope: me,             tap: function(e, t) {                   var inputArray = document.getElementsByTagName('input');                 for (var index = 0; index < inputArray.length; index++) {                     if (inputArray[index].type = 'text') {                         if (!document.activeElement && != inputArray[index].id)                             document.getElementById(inputArray[index].id).blur();                      }                 }              }         });     },     config: {         title: 'Login',         items: [                      {                         xtype: 'textfield',                         label: 'Password',                         component: { type: 'tel' },                         placeHolder: 'Password',                         cls: 'password-style',                         labelCls: 'form-label-hide',                         maxLength: 4,                         itemId: 'passwordTextField',                         name: 'passwordTextField',                         autoComplete: false,                         required: true                     }           ]     } });


    Password Field:- I did add a component property to make as tel field for open a number keyboard and using CSS I am changing the text to password.

    When I focus on the password text box which is exactly a textfield but its not open the number keyboard instead of showing default keyboard.

    But if I remove the tap event from the initialize event so its work. Please help.


  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011


    In what version of Android are you experiencing this problem?
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3


    Latest version Android 4.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts