1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    486
    Answers
    12
    Vote Rating
    1
    abcdef is on a distinguished road

      0  

    Default Answered: ExtJS 4.1 Nightly - Why is everything scrolling horizontally?

    Answered: ExtJS 4.1 Nightly - Why is everything scrolling horizontally?


    So I switched to ExtJS 4.1 nightly, and I noticed something very weird. Most of my components including toolbars and grids started scrolling horizontally. They scroll for a looong time before coming to a stop, and as I begin to scroll, the content begins to go left and disappear.

    For example, my toolbar content started scrolling on 4.1. This is inside of a panel:

    Code:
            Ext.apply(me, {
                dockedItems: [
                    {
                        xtype: 'toolbar',
                        dock: 'top',
                        height: 35,
                        layout: {
                            type: 'hbox',
                            pack: 'center'
                        },
                        items: [
                            {
                                xtype: 'container',
                                itemId: 'title',
                                html: 'Test'
                            }
                        ]
                    }
                ]
            });
    Quickly wanted to see whether there is a known issue transitioning from 4.0.7?

  2. Looks like it had something to do with autoScroll option. I played around with it, and it started behaving as expected. But the code from 4.0.7 did not work correctly. Anyway, problem solved.

  3. #2
    Sencha User
    Join Date
    Mar 2010
    Posts
    486
    Answers
    12
    Vote Rating
    1
    abcdef is on a distinguished road

      0  

    Default


    Looks like it had something to do with autoScroll option. I played around with it, and it started behaving as expected. But the code from 4.0.7 did not work correctly. Anyway, problem solved.