Results 1 to 3 of 3

Thread: DatePicker problem

  1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    36

    Default DatePicker problem

    Hi there, I'm using firefox 3.5.
    Everytime I pick a date from datepicker, the display always goes up, so that the DateField is on the bottom of the display. Please see the attached image.

    And this applies to every datepicker, even the one provided in the example. Please check here.

    I think the display goes up like this because after I pick a date, extjs tries to focus the datefield. Is there any way to prevent this?
    Attached Images Attached Images

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    It a bug.

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    36

    Default

    Quote Originally Posted by Condor View Post
    It a bug.
    And this quickfix is helpful.

    Code:
    Ext.override(Ext.form.DateField, {
        onMenuHide: function() {
            this.focus();
            this.focus(false, 60);
            this.menuEvents('un');
        }
    });
    Thanks !

Posting Permissions

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