Skip navigation
SpryNet
Currently Being Moderated

Collapsible panel in morphing panel

Jun 1, 2012 4:35 AM

Hi,

 

Hope this isnt too complicated:

 

I searched and found that if you have a nested collapsible panel within another, you can fix the downward expandible problem by changing line 431 of SpryCollapsiblePanel.js from:

 

this.content.style.height = this.toHeight + "px";

 

to:

 

this.content.style.height = "auto";

 

I'm having a similar problem only I have a collapsible panel nested into one of the tabs of a spry morphing panel. When clicked the collapsible panel expands downwards under the border of the morphing panel, so the content cannot be seen. The above fix did not work.

 

Here is a link to a morphing panel sample:

 

http://labs.adobe.com/technologies/spry/ui/samples/MorphPanelsSample.h tml

 

My collapsible panel is nested within the second tab at the bottom.

 

Anyone have a fix for this?

 

I wrapped the collapsible panel in a div with an overflow of hidden and that didnt work, I also played around with the SpryMorphPanels.js but couldnt come up with anything.

 
Replies
  • Currently Being Moderated
    Jun 12, 2012 6:08 PM   in reply to SpryNet

    My most creative moments occur when I have  time off from my projects and my mind goes into free fall.

     

    I have recreated your setup and clearly see the problem. It will take some time for me to figure out a solution, but sadly I do not have that luxury at this point in time. My projects tend to have been scheduled (by my clients) to be ready by yesterday.

     

    I think that the answer should be sought in creating a new collapsible panel widget based on Spry Pre-Release 1.7, using SpryDOMUtils, SpryDOMeffects and SpryWidget. SpryPanelSet can be used as an example.

     

    Hopefully someone can try this out.

     

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points