Actually, after spending quite sometime, I was finally able to produce a code
snippet that reproduce the 'auto scrolling-up' behavior.

      var container = new qx.ui.container.Scroll();
      var composTest = new qx.ui.container.Composite(new
qx.ui.layout.HBox(3));
      container.add(composTest, 
           {left:"0%", top:"0%", right:"0%", bottom:"0%", width:"100%", 
height:"100%"});
      composTest.add(new qx.ui.core.Spacer().set(
                        {minWidth: 40}), { flex : 1 });
      var centerCompos = new qx.ui.container.Composite(
                          new qx.ui.layout.VBox().set({ spacing: -2 })).set({ 
width:1000 });
      var innerCompos = new qx.ui.container.Composite(new
qx.ui.layout.Canvas());
      var mostInnerCompos = new qx.ui.container.Composite(new
qx.ui.layout.VBox(0));
      mostInnerCompos.add(new qx.ui.basic.Atom().set({height:500}));
      mostInnerCompos.add(new qx.ui.basic.Label("Hello").set({height:200}));
      var field = new qx.ui.form.SelectBox();
      var type = new qx.ui.form.ListItem("A");
      field.add(type);
      type = new qx.ui.form.ListItem("B");
      field.add(type);
      type = new qx.ui.form.ListItem("C");
      field.add(type);  
      type = new qx.ui.form.ListItem("D");
      field.add(type);
      mostInnerCompos.add(field);
      mostInnerCompos.add(new qx.ui.basic.Atom().set({height:200}));
      mostInnerCompos.add(new qx.ui.basic.Label("You!").set({height:150}));
    
      innerCompos.add(mostInnerCompos, {left:0, top:0});        
      centerCompos.add(innerCompos);
      composTest.add(centerCompos);
      composTest.add(new qx.ui.core.Spacer().set(
                        {minWidth: 40}), { flex : 1 });
        
      this.getRoot().add(container, {edge:0});

To reproduce the error behavior, open the page with IE 8 (only occurs on IE
8, not IE7 for some reason),  scroll to the *very bottom* of the page. Then,
only the selectBox, and make a selection.  You will notice that the page
automatically scrolls up, *even though the scroll bar still wrongly
indicates it's still at the bottom of the page. 

If you move the scroll bar abit, it will adjusts back. But the error
behavior is definitely there...

Thanks,
mckwil
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Very-Strange-SelectBox-behaviour-tp5366531p5368706.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to