Giter Club home page Giter Club logo

Comments (8)

glennflanagan avatar glennflanagan commented on July 23, 2024 1

@artsx I've added a new property overflowWhenOpen which will allow you to set the CSS overflow value when the Collapsible is open.

Hope this helps.

from react-collapsible.

glennflanagan avatar glennflanagan commented on July 23, 2024

Hey @artsx,

I'm not sure I'm following what you are trying to attempt here or what the issue is.

The collapsible is set to overflow: hidden in the code to force the content to disappear when it's closed and when the collapsible is open the content is set to height: auto so it should be the height it needs to be for the content.

Could you expand a bit more into what your issue is?

Thanks

from react-collapsible.

artsx avatar artsx commented on July 23, 2024

hi @glennflanagan,
Thx for you're reply (sorry for my bad english).

By default, on .Collapsible__contentOuter we have overflow:hidden
When I try to open my last dropdown, with thisoverflow:hidden we cant see dropdown :
screen shot 2016-09-30 at 15 05 00

When I fix this overflow:hidden by overflow:visible I can see my complete dropdown :
screen shot 2016-09-30 at 15 07 43

When I close dropdown, the transition work perfectly.
The problem, it's when I open collapse element, .Collapsible__contentOuter is with overflow:visible so during the transition, we see all the element is displayed.
screen shot 2016-09-30 at 15 13 06

My question is :
When my collapse is closed, I want open -> overflow:hidden, when transition it's finished -> overflow:visible

I hope I have been clearer,
Thank you for your help!

from react-collapsible.

artsx avatar artsx commented on July 23, 2024

@glennflanagan it works perfectly, thank you!

from react-collapsible.

codydotio avatar codydotio commented on July 23, 2024

@glennflanagan thanks for the overflowWhenOpen property, but do you have any idea why it wouldn't work in ie10/11?

from react-collapsible.

glennflanagan avatar glennflanagan commented on July 23, 2024

@codydotio I wouldn't off the top of my head. I've not got a ie10 VM at the moment so I can't test it. I'll give it a check as soon as I can.

from react-collapsible.

codydotio avatar codydotio commented on July 23, 2024

@glennflanagan thanks! I can pm my browserstack login if that helps.. it's causing an issue for some of our users

from react-collapsible.

glennflanagan avatar glennflanagan commented on July 23, 2024

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.