Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    289
    Vote Rating
    16
    Qtx will become famous soon enough

      0  

    Default [CLOSED][3.0.3] Methods Element.scroll and Element.scrollTo stopped working

    [CLOSED][3.0.3] Methods Element.scroll and Element.scrollTo stopped working


    I am using the methods scrollTo and scroll to enable jump to the beginning or to the end of a panel. In 3.0.0, it worked well. I noticed that this does not work in 3.0.3 any more.

    Here is the example, which works in 3.0.0 and does not work in 3.0.3

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Hello World Window Example</title>
        <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
    
        <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="../../ext-all.js"></script>
        <script type="text/javascript" src="../ux/MultiSelect.js"></script>
        <script type="text/javascript" src="../ux/ItemSelector.js"></script>
    
    <script language="javascript">
    
    Ext.onReady(function(){
      var win;
      var button = Ext.get('show-btn');
    
      button.on('click', function(){
        
        user_form = new Ext.Panel({
    
          border: false,
          trackResetOnLoad: true,
          layout: 'anchor',
          bodyStyle: 'background-color: transparent',
          cls: 'x-border-layout-ct',
          
          html: 'Line First<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line N<br>Line Last'
          
        }); // user_form
        
        user_window = new Ext.Window({
    
          title: 'Test',
          
          width: 500,
          height: 400,
          
          closeAction: 'close',
          plain: true,
          modal: true,
          
          maximizable: false,
          minimizable: false,
          resizable: false,
          
          layout: 'fit',
          items: user_form_panel = new Ext.Panel({
            id: 'user_form_panel',
            xtype: 'panel',
            autoScroll: true,
            items: user_form,
            border: false
          }),
          
        buttons: [
          {
            text: 'Up',
            handler: function () {
              user_form_panel.body.scrollTo("top", 0);
            }
          },
          {
            text: 'Down',
            handler: function () {
              user_form_panel.body.scroll("down", 10000000);
            }
          }
        ]
          
        });
        
        user_window.show();
      });
    });
    </script>
    </head>
    <body>
    
    <input type="button" id="show-btn" value="Show Window" />
    </body>
    </html>

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,786
    Vote Rating
    597
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This is corrected in SVN, it will be a part of 3.1.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."