Giter Club home page Giter Club logo

Comments (8)

glennflanagan avatar glennflanagan commented on July 23, 2024

Hi @ssageghi,

Have you checked to see if the content inside the Collapsible has position and height? The Collapsible won't work if the content is set to position absolute for example. Can you check this for me?

Cheers.

from react-collapsible.

fmlharrison avatar fmlharrison commented on July 23, 2024

Was this problem solved? I am having the same problem.
I am using flex box to position some components inside my Collapsible component but the height of the Collapsible_contentOuter div still has a height of 0px. I added a height of 50px to the div that wrap the Collapsible component children.

I would appreciate your help.

Cheers.

from react-collapsible.

glennflanagan avatar glennflanagan commented on July 23, 2024

@ssageghi / @fmlharrison could you help me out with examples of your code that has issues? I can't understand what the issue is from your descriptions or screenshots. If you could use JSFiddle or Codepen with examples this will help me debug the issue.

Thanks

from react-collapsible.

pke avatar pke commented on July 23, 2024

Same here. Not using any special positioned items inside the Collapsible and no custom styles attached.

from react-collapsible.

glennflanagan avatar glennflanagan commented on July 23, 2024

Hey @pke. Are you able to show me some example code where the issue occurs? It's pretty impossible to debug if I've got nothing to work with.

Cheers

from react-collapsible.

pke avatar pke commented on July 23, 2024

Thanks for the swift response. I'll try to reproduce it in a codepen the next days.

from react-collapsible.

haddyo avatar haddyo commented on July 23, 2024

Please load a Static Content inside the tag. This fixed the issue i faced.
Eg.

Dummy Text

Your Actual Content

from react-collapsible.

karltaylor avatar karltaylor commented on July 23, 2024

Closing this due to inactivity. Please feel free to re-open.

from react-collapsible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.