Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    [BUG] DatePicker cause layout up-shifting

    Hi,
    i'm facing a bug when i start to edit/ insert a record into a ListGrid which have at least one date field.
    Step to reproduce bug:
    1. Scroll to the bottom of the ListGrid
    2. Doubleclick the last row and start editing the "independence" field.
    3. Click on the datepicker icon.
    4. The layout is up-shifted to fit the datepicker and it's pretty bad for the user to see.

    1. ISC_VERSION (SKIN GRAPHITE):
    1. SNAPSHOT_v10.1d_2015-09-15/EVAL Development Only
    2. v10.0p_2015-09-15/Enterprise Development Only
    2. OS and Browser: Chrome 45 x64 on Windows 8.1 Pro x64
    6. Code snippet to be used HERE
    Code:
    isc.ListGrid.create({
        ID: "myGrid",
        width: "100%",
        height: "100%",
     alternateRecordStyles:true, 
    canRemoveRecords:true,
    cellHeight:22,
    data:[{"member_g8":true,"countryName":"United States","area":9631420,"article":"http://en.wikipedia.org/wiki/United_states","gdp":12360000,"continent":"North America","countryCode":"US","independence":"1776-07-04T10:00:00.000Z","government":"federal republic","capital":"Washington, DC","population":298444215,"pk":1},{"member_g8":false,"countryName":"China","area":9596960,"article":"http://en.wikipedia.org/wiki/China","gdp":8859000,"continent":"Asia","countryCode":"CH","government":"Communist state","capital":"Beijing","population":1313973713,"pk":2},{"member_g8":true,"countryName":"Japan","area":377835,"article":"http://en.wikipedia.org/wiki/Japan","gdp":4018000,"continent":"Asia","countryCode":"JA","government":"constitutional monarchy with parliamentary government","capital":"Tokyo","population":127463611,"pk":3},{"member_g8":false,"countryName":"India","area":3287590,"article":"http://en.wikipedia.org/wiki/India","gdp":3611000,"continent":"Asia","countryCode":"IN","independence":"1947-08-15T10:00:00.000Z","government":"federal republic","capital":"New Delhi","population":1095351995,"pk":4},{"member_g8":true,"countryName":"Germany","area":357021,"article":"http://en.wikipedia.org/wiki/Germany","gdp":2504000,"continent":"Europe","countryCode":"GM","independence":"1871-01-18T11:00:00.000Z","government":"federal republic","capital":"Berlin","population":82422299,"pk":5},{"member_g8":true,"countryName":"United Kingdom","area":244820,"article":"http://en.wikipedia.org/wiki/United_kingdom","gdp":1830000,"continent":"Europe","countryCode":"UK","independence":"1801-01-01T11:00:00.000Z","government":"constitutional monarchy","capital":"London","population":60609153,"pk":6},{"member_g8":true,"countryName":"France","area":547030,"article":"http://en.wikipedia.org/wiki/France","gdp":1816000,"continent":"Europe","countryCode":"FR","government":"republic","capital":"Paris","population":60876136,"pk":7},{"member_g8":true,"countryName":"Italy","area":301230,"article":"http://en.wikipedia.org/wiki/Italy","gdp":1698000,"continent":"Europe","countryCode":"IT","independence":"1861-03-17T11:00:00.000Z","government":"republic","capital":"Rome","population":58133509,"pk":8},{"member_g8":true,"countryName":"Russia","area":17075200,"article":"http://en.wikipedia.org/wiki/Russia","gdp":1589000,"continent":"Asia","countryCode":"RS","independence":"1991-08-24T10:00:00.000Z","government":"federation","capital":"Moscow","population":142893540,"pk":9},{"member_g8":false,"countryName":"Brazil","area":8511965,"article":"http://en.wikipedia.org/wiki/Brazil","gdp":1556000,"continent":"South America","countryCode":"BR","independence":"1822-09-07T10:00:00.000Z","government":"federative republic","capital":"Brasilia","population":188078227,"pk":10},{"member_g8":true,"countryName":"Canada","area":9984670,"article":"http://en.wikipedia.org/wiki/Canada","gdp":1114000,"continent":"North America","countryCode":"CA","independence":"1867-07-01T10:00:00.000Z","government":"constitutional monarchy with parliamentary democracy and federation","capital":"Ottawa","population":33098932,"pk":11},{"member_g8":false,"countryName":"Mexico","area":1972550,"article":"http://en.wikipedia.org/wiki/Mexico","gdp":1067000,"continent":"North America","countryCode":"MX","independence":"1810-09-16T10:00:00.000Z","government":"federal republic","capital":"Mexico (Distrito Federal)","population":107449525,"pk":12},{"member_g8":false,"countryName":"Spain","area":504782,"article":"http://en.wikipedia.org/wiki/Spain","gdp":1029000,"continent":"Europe","countryCode":"SP","independence":"1492-01-01T11:00:00.000Z","government":"parliamentary monarchy","capital":"Madrid","population":40397842,"pk":13},{"member_g8":false,"countryName":"South Korea","area":98480,"article":"http://en.wikipedia.org/wiki/South_korea","gdp":965300,"continent":"Asia","countryCode":"KS","independence":"1945-08-15T10:00:00.000Z","government":"republic","capital":"Seoul","population":48846823,"pk":14},{"member_g8":false,"countryName":"Indonesia","area":1919440,"article":"http://en.wikipedia.org/wiki/Indonesia","gdp":865600,"continent":"Asia","countryCode":"ID","independence":"1945-08-17T10:00:00.000Z","government":"republic","capital":"Jakarta","population":245452739,"pk":15},{"member_g8":true,"countryName":"United States","area":9631420,"article":"http://en.wikipedia.org/wiki/United_states","gdp":12360000,"continent":"North America","countryCode":"US","independence":"1776-07-04T10:00:00.000Z","government":"federal republic","capital":"Washington, DC","population":298444215,"pk":1},{"member_g8":false,"countryName":"China","area":9596960,"article":"http://en.wikipedia.org/wiki/China","gdp":8859000,"continent":"Asia","countryCode":"CH","government":"Communist state","capital":"Beijing","population":1313973713,"pk":2},{"member_g8":true,"countryName":"Japan","area":377835,"article":"http://en.wikipedia.org/wiki/Japan","gdp":4018000,"continent":"Asia","countryCode":"JA","government":"constitutional monarchy with parliamentary government","capital":"Tokyo","population":127463611,"pk":3},{"member_g8":false,"countryName":"India","area":3287590,"article":"http://en.wikipedia.org/wiki/India","gdp":3611000,"continent":"Asia","countryCode":"IN","independence":"1947-08-15T10:00:00.000Z","government":"federal republic","capital":"New Delhi","population":1095351995,"pk":4},{"member_g8":true,"countryName":"Germany","area":357021,"article":"http://en.wikipedia.org/wiki/Germany","gdp":2504000,"continent":"Europe","countryCode":"GM","independence":"1871-01-18T11:00:00.000Z","government":"federal republic","capital":"Berlin","population":82422299,"pk":5},{"member_g8":true,"countryName":"United Kingdom","area":244820,"article":"http://en.wikipedia.org/wiki/United_kingdom","gdp":1830000,"continent":"Europe","countryCode":"UK","independence":"1801-01-01T11:00:00.000Z","government":"constitutional monarchy","capital":"London","population":60609153,"pk":6},{"member_g8":true,"countryName":"France","area":547030,"article":"http://en.wikipedia.org/wiki/France","gdp":1816000,"continent":"Europe","countryCode":"FR","government":"republic","capital":"Paris","population":60876136,"pk":7},{"member_g8":true,"countryName":"Italy","area":301230,"article":"http://en.wikipedia.org/wiki/Italy","gdp":1698000,"continent":"Europe","countryCode":"IT","independence":"1861-03-17T11:00:00.000Z","government":"republic","capital":"Rome","population":58133509,"pk":8},{"member_g8":true,"countryName":"Russia","area":17075200,"article":"http://en.wikipedia.org/wiki/Russia","gdp":1589000,"continent":"Asia","countryCode":"RS","independence":"1991-08-24T10:00:00.000Z","government":"federation","capital":"Moscow","population":142893540,"pk":9},{"member_g8":false,"countryName":"Brazil","area":8511965,"article":"http://en.wikipedia.org/wiki/Brazil","gdp":1556000,"continent":"South America","countryCode":"BR","independence":"1822-09-07T10:00:00.000Z","government":"federative republic","capital":"Brasilia","population":188078227,"pk":10},{"member_g8":true,"countryName":"Canada","area":9984670,"article":"http://en.wikipedia.org/wiki/Canada","gdp":1114000,"continent":"North America","countryCode":"CA","independence":"1867-07-01T10:00:00.000Z","government":"constitutional monarchy with parliamentary democracy and federation","capital":"Ottawa","population":33098932,"pk":11},{"member_g8":false,"countryName":"Mexico","area":1972550,"article":"http://en.wikipedia.org/wiki/Mexico","gdp":1067000,"continent":"North America","countryCode":"MX","independence":"1810-09-16T10:00:00.000Z","government":"federal republic","capital":"Mexico (Distrito Federal)","population":107449525,"pk":12},{"member_g8":false,"countryName":"Spain","area":504782,"article":"http://en.wikipedia.org/wiki/Spain","gdp":1029000,"continent":"Europe","countryCode":"SP","independence":"1492-01-01T11:00:00.000Z","government":"parliamentary monarchy","capital":"Madrid","population":40397842,"pk":13},{"member_g8":false,"countryName":"South Korea","area":98480,"article":"http://en.wikipedia.org/wiki/South_korea","gdp":965300,"continent":"Asia","countryCode":"KS","independence":"1945-08-15T10:00:00.000Z","government":"republic","capital":"Seoul","population":48846823,"pk":14},{"member_g8":false,"countryName":"Indonesia","area":1919440,"article":"http://en.wikipedia.org/wiki/Indonesia","gdp":865600,"continent":"Asia","countryCode":"ID","independence":"1945-08-17T10:00:00.000Z","government":"republic","capital":"Jakarta","population":245452739,"pk":15},{"member_g8":true,"countryName":"United States","area":9631420,"article":"http://en.wikipedia.org/wiki/United_states","gdp":12360000,"continent":"North America","countryCode":"US","independence":"1776-07-04T10:00:00.000Z","government":"federal republic","capital":"Washington, DC","population":298444215,"pk":1},{"member_g8":false,"countryName":"China","area":9596960,"article":"http://en.wikipedia.org/wiki/China","gdp":8859000,"continent":"Asia","countryCode":"CH","government":"Communist state","capital":"Beijing","population":1313973713,"pk":2},{"member_g8":true,"countryName":"Japan","area":377835,"article":"http://en.wikipedia.org/wiki/Japan","gdp":4018000,"continent":"Asia","countryCode":"JA","government":"constitutional monarchy with parliamentary government","capital":"Tokyo","population":127463611,"pk":3},{"member_g8":false,"countryName":"India","area":3287590,"article":"http://en.wikipedia.org/wiki/India","gdp":3611000,"continent":"Asia","countryCode":"IN","independence":"1947-08-15T10:00:00.000Z","government":"federal republic","capital":"New Delhi","population":1095351995,"pk":4},{"member_g8":true,"countryName":"Germany","area":357021,"article":"http://en.wikipedia.org/wiki/Germany","gdp":2504000,"continent":"Europe","countryCode":"GM","independence":"1871-01-18T11:00:00.000Z","government":"federal republic","capital":"Berlin","population":82422299,"pk":5},{"member_g8":true,"countryName":"United Kingdom","area":244820,"article":"http://en.wikipedia.org/wiki/United_kingdom","gdp":1830000,"continent":"Europe","countryCode":"UK","independence":"1801-01-01T11:00:00.000Z","government":"constitutional monarchy","capital":"London","population":60609153,"pk":6},{"member_g8":true,"countryName":"France","area":547030,"article":"http://en.wikipedia.org/wiki/France","gdp":1816000,"continent":"Europe","countryCode":"FR","government":"republic","capital":"Paris","population":60876136,"pk":7},{"member_g8":true,"countryName":"Italy","area":301230,"article":"http://en.wikipedia.org/wiki/Italy","gdp":1698000,"continent":"Europe","countryCode":"IT","independence":"1861-03-17T11:00:00.000Z","government":"republic","capital":"Rome","population":58133509,"pk":8},{"member_g8":true,"countryName":"Russia","area":17075200,"article":"http://en.wikipedia.org/wiki/Russia","gdp":1589000,"continent":"Asia","countryCode":"RS","independence":"1991-08-24T10:00:00.000Z","government":"federation","capital":"Moscow","population":142893540,"pk":9},{"member_g8":false,"countryName":"Brazil","area":8511965,"article":"http://en.wikipedia.org/wiki/Brazil","gdp":1556000,"continent":"South America","countryCode":"BR","independence":"1822-09-07T10:00:00.000Z","government":"federative republic","capital":"Brasilia","population":188078227,"pk":10},{"member_g8":true,"countryName":"Canada","area":9984670,"article":"http://en.wikipedia.org/wiki/Canada","gdp":1114000,"continent":"North America","countryCode":"CA","independence":"1867-07-01T10:00:00.000Z","government":"constitutional monarchy with parliamentary democracy and federation","capital":"Ottawa","population":33098932,"pk":11},{"member_g8":false,"countryName":"Mexico","area":1972550,"article":"http://en.wikipedia.org/wiki/Mexico","gdp":1067000,"continent":"North America","countryCode":"MX","independence":"1810-09-16T10:00:00.000Z","government":"federal republic","capital":"Mexico (Distrito Federal)","population":107449525,"pk":12},{"member_g8":false,"countryName":"Spain","area":504782,"article":"http://en.wikipedia.org/wiki/Spain","gdp":1029000,"continent":"Europe","countryCode":"SP","independence":"1492-01-01T11:00:00.000Z","government":"parliamentary monarchy","capital":"Madrid","population":40397842,"pk":13},{"member_g8":false,"countryName":"South Korea","area":98480,"article":"http://en.wikipedia.org/wiki/South_korea","gdp":965300,"continent":"Asia","countryCode":"KS","independence":"1945-08-15T10:00:00.000Z","government":"republic","capital":"Seoul","population":48846823,"pk":14},{"member_g8":false,"countryName":"Indonesia","area":1919440,"article":"http://en.wikipedia.org/wiki/Indonesia","gdp":865600,"continent":"Asia","countryCode":"ID","independence":"1945-08-17T10:00:00.000Z","government":"republic","capital":"Jakarta","population":245452739,"pk":15}],
        fields:[
            {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
            {name:"countryName"},
            {name:"continent"},
    {name:"independence",type:"datetime",useTextField:true},
            {name:"member_g8"},
            {name:"population"}
            
        ],
        autoFetchData: true,
        canEdit: true,
        editEvent: "click"
    });
    isc.IButton.create({
        ID:"newRowBtn",
        title: "New Row",
        icon: "icons/16/world.png",
        iconOrientation: "right",
        click: "myGrid.startEditingNew();"
    });
    
    isc.SectionStack.create({
        ID: "myStack",
        width: "100%",
        height: "100%",
        animateSections: true,
        sections: [
            {
                name: "gridSection", title: "Some Title",            
                expanded: true, canCollapse: false,
                controls:[newRowBtn],
                items: [myGrid]
            }
        ],
    });
    I also noticed that the SectionStackSection is not showing any controls component.
    Thank you in advance

    #2
    We're not reproducing an issue when following your instructions.  Opening the DateChooser doesn't seem to cause any shifting.

    You should post a screenshot of what you're seeing to clarify the problem.

    Note that the bug with the SectionStackSection controls not appearing is already fixed, but the new version has not been deployed to the site where you are testing.  It will be shortly.

    Comment


      #3
      Originally posted by Isomorphic View Post
      We're not reproducing an issue when following your instructions.  Opening the DateChooser doesn't seem to cause any shifting.

      You should post a screenshot of what you're seeing to clarify the problem.

      Note that the bug with the SectionStackSection controls not appearing is already fixed, but the new version has not been deployed to the site where you are testing.  It will be shortly.
      Hi,
      As mentioned above, this happens only when the edited row is the last and is at bottom of the page.
      The two screenshot are at the same resolution/page. Click image for larger version

Name:	screen1.PNG
Views:	58
Size:	8.1 KB
ID:	231426
      Click image for larger version

Name:	screen2.PNG
Views:	54
Size:	8.3 KB
ID:	231427

      http://postimg.org/image/x2xel1q5b/

      http://postimg.org/image/sib8646fz/
      Last edited by Medioman92; 20 Sep 2015, 23:55.

      Comment


        #4
        any updates on this problem ?

        Comment


          #5
          Hi,
          the problem of datepicker being misplaced when displayed for the first time has been fixed. You'll find the fix applied since next nightly build on (the nightly build dated October 6th, that will be released in less than 24 hours).

          Thanks,

          Comment

          Working...
          X