Results 1 to 3 of 3

Thread: DataView automatically scrolling up in IE?

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2016
    Posts
    6
    Vote Rating
    0
      0  

    Default DataView automatically scrolling up in IE?

    In Internet Explorer(tested with IE11), clicking on a dataview item will cause that item to automatically scroll to the top. To re-create the issue, paste the following code into ExtJS documentation fiddle, run the fiddle, scroll all the way to bottom, and then click on one of the images. This will cause the dataview to scroll up automatically. Is there any way I can stop this automatic scrolling ? This only happens in IE(the scroll position remains unaffected in FF and Chrome).

    Ext.define('Image',{
    extend
    :'Ext.data.Model',
    fields
    :[
    { name:'src', type:'string'},
    { name:'caption', type:'string'}
    ]
    });

    Ext.create('Ext.data.Store',{
    id
    :'imagesStore',
    model
    :'Image',
    data
    :[
    { src:'http://www.sencha.com/img/20110215-feat-drawing.png', caption:'Drawing & Charts'},
    { src:'http://www.sencha.com/img/20110215-feat-data.png', caption:'Advanced Data'},
    { src:'http://www.sencha.com/img/20110215-feat-html5.png', caption:'Overhauled Theme'},
    { src:'http://www.sencha.com/img/20110215-feat-perf.png', caption:'Performance Tuned'}
    ]
    });

    var imageTpl =newExt.XTemplate(
    '<div class="abc">',
    '<tpl for=".">',
    '<div style="margin-bottom: 10px;" class="thumb-wrap">',
    '<img src="{src}" />',
    '<br/><span>{caption}</span>',
    '</div>',
    '</tpl>',
    '</div>'
    );

    Ext.create('Ext.view.View',{
    store
    :Ext.data.StoreManager.lookup('imagesStore'),
    tpl
    : imageTpl,
    itemSelector
    :'div.abc',
    emptyText
    :'No images available',
    renderTo
    :Ext.getBody()
    });


  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    614
    Vote Rating
    -296
      -2  

    Default

    Hi there- Sorry for the delay in responding. I have passed your question on to a team member who can help. I appreciate your patience!

  3. #3
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    124
    Vote Rating
    -98
      -1  

    Default

    Hello,

    This is a bug and is in latest ExtJS 6.6.0 version as well. Thank you for reporting this.

    Regards,
    Pavan,
    Sencha Support.

Similar Threads

  1. [OPEN] DataView automatically scrolling up in IE?
    By gardhiwasam in forum Ext 6: Bugs
    Replies: 2
    Last Post: 25 Sep 2018, 12:38 PM
  2. Replies: 1
    Last Post: 15 Oct 2015, 11:34 PM
  3. Treepanel check scrolling automatically.
    By sudhanshusekhar27 in forum Ext: Q&A
    Replies: 1
    Last Post: 7 Oct 2014, 6:47 AM
  4. Automatically set scrolling:true when needed?
    By jpfm in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 3 Dec 2013, 12:46 PM
  5. home page is automatically scrolling down
    By satish.bodduna in forum Ext GWT: Q&A
    Replies: 3
    Last Post: 17 Oct 2012, 2:34 AM

Tags for this Thread

Posting Permissions

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