Results 1 to 3 of 3

Thread: DatePicker width in IE fix

  1. #1
    Sencha User
    Join Date
    Oct 2014
    Posts
    12

    Default DatePicker width in IE fix

    In ie (10 and under) the DatePicker box width is cut almost in half - 118px.Its a large project and its used in various components in multiple places.Compatibility mode is off for the site (it caused other issues).So i thought i could just override the onTriggerClick for the Ext.form.DateField however i cant seem to find anything that would affect it.style property does nothing - even with !important and adding some random css changes to test.simply width: 185 does nothing.Override itself works - tested with other properties.Anyone come across the issue or similar problem?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Are you able to reproduce this in a Fiddle so we can see what might be going on?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User
    Join Date
    Oct 2014
    Posts
    12

    Default

    Missed the post, so a late reply. It seems to be a common bug for others aswell. I had to fix it by overriding css and setting fixed values.

    Code:
    new Ext.Panel({  region: 'north',
      height: 35,
      layout: 'hbox',
      items:[
        this.dateField = new Ext.form.DateField({
          value: new Date()
        }),
      ],
      renderTo:Ext.getBody()
    });
    But for some reason in the fiddle i can only reproduce it in 3.3 - 3.4 has white bar at the bottom but width is ok.
    Could be something with fiddle and ie that works a bit differently.
    Ext in console reports version: "3.4.0"for the project.

Similar Threads

  1. Replies: 3
    Last Post: 29 Aug 2014, 1:13 PM
  2. [FIXED-347]DatePicker popup width incorrect in Webkit
    By markeza in forum Ext 3.x: Bugs
    Replies: 15
    Last Post: 4 Jul 2013, 4:13 PM
  3. Reg DatePicker - Unable to get the selected date in datepicker
    By sucheendarnath in forum Sencha Touch 1.x: Q&A
    Replies: 1
    Last Post: 31 Dec 2011, 7:19 AM
  4. datepicker to width
    By stevieke in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 3 Apr 2009, 6:16 AM

Posting Permissions

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