Results 1 to 2 of 2

Thread: [4.1.x] IE: Selecting item in Ext.view.View when scrolled down makes scrollbar jump

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Vote Rating

    Default [4.1.x] IE: Selecting item in Ext.view.View when scrolled down makes scrollbar jump


    Ext version tested:
    • Ext 4.1.1
    • Ext 4.1.3
    Browser versions tested against:
    • IE8
    • IE9
    DOCTYPE tested against:
    • HTML5
    • In IE, if I select an item in an Ext.view.View when it's scrolled down, the scroll bar jumps to the top. This is not a problem in Firefox or Google Chrome.
    Steps to reproduce the problem:
    • Run the code in the test case (or check out the live preview in the Ext.view.View documentation)
    • Resize the browser so that the view has to scroll
    • Scroll down and select one of the items in the view
    The result that was expected:
    • The scrollbar should not have jumped up - it should have stayed in place
    The result that occurs instead:
    • The scrollbar jumped to the top
    Test Case:

    Ext.define('Image', {
        extend: '',
        fields: [
            { name:'src', type:'string' },
            { name:'caption', type:'string' }
    Ext.create('', {
        model: 'Image',
        data: [
            { src:'', caption:'Drawing & Charts' },
            { src:'', caption:'Advanced Data' },
            { src:'', caption:'Overhauled Theme' },
            { src:'', caption:'Performance Tuned' }
    var imageTpl = new Ext.XTemplate(
        '<tpl for=".">',
            '<div style="margin-bottom: 10px;" class="thumb-wrap">',
              '<img src="{src}" />',
    Ext.create('Ext.view.View', {
        tpl: imageTpl,
        itemSelector: 'div.thumb-wrap',
        emptyText: 'No images available',
        renderTo: Ext.getBody()


    See this URL for live test case:!/api/Ext.view.View - view the live preview of the example

    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Windows 7 SP1 64-bit

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Thank you for the report.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

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

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