Menu

#841 Overflow:auto lost when swiching accord tabbox (Safari only)

3.0.2
closed-fixed
nobody
None
3
2008-04-02
2008-01-30
No

Fail to switch accordion tabbox in borderlayout, if I specify overflow:auto to tappanel.

Here is the example code,
<borderlayout height="500px">
<north size="50%" border="true">
<borderlayout>
<west size="25%" border="true" flex="true">
<tabbox width="400px" mold="accordion">
<tabs>
<tab label="Tab 1"/>
<tab label="Tab 2"/>
</tabs>
<tabpanels>
<tabpanel height="100px" style="background:yellow">This is panel 1</tabpanel>
<tabpanel height="100px" style="background:blue;overflow:auto">This is panel 2
<div height="200px">---</div>The second panel
</tabpanel>
</tabpanels>
</tabbox>
</west>
<center border="none" flex="true"/>
<east size="50%" border="true" flex="true"/>
</borderlayout>
</north>
<center border="true"/>
</borderlayout>

Discussion

  • Tom M. Yeh

    Tom M. Yeh - 2008-01-30
    • milestone: --> 3.0.2
    • summary: Fail to switch accord tabbox in borderlayout in Safari --> Overflow:auto lost when swiching accord tabbox (Safari only)
     
  • Tom M. Yeh

    Tom M. Yeh - 2008-01-30

    Logged In: YES
    user_id=91099
    Originator: NO

    The cause:
    With Safari, element.style.overflow always returns "" even if it shall be "auto", "scroll" or others.

    We have to find a way to work around this.

    btw, the sliding effect will change overflow to hidden and switching back.

     
  • Jumper Chen

    Jumper Chen - 2008-03-18
    • priority: 5 --> 3
     
  • Jumper Chen

    Jumper Chen - 2008-04-02
    • status: open --> closed-fixed
     
  • Jumper Chen

    Jumper Chen - 2008-04-02

    Logged In: YES
    user_id=1684431
    Originator: NO

    Fixed since 4/2.

     

Log in to post a comment.