Comments (8)
@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.
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.
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 :
When I fix this overflow:hidden
by overflow:visible
I can see my complete dropdown :
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.
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.
@glennflanagan it works perfectly, thank you!
from react-collapsible.
@glennflanagan thanks for the overflowWhenOpen
property, but do you have any idea why it wouldn't work in ie10/11?
from react-collapsible.
@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.
@glennflanagan thanks! I can pm my browserstack login if that helps.. it's causing an issue for some of our users
from react-collapsible.
from react-collapsible.
Related Issues (20)
- Pass height state into the onOpen, onOpening and other methods
- How to change the Icon and its position? HOT 1
- ARIA IDs are not unique
- If the component is open while it's being triggered through a state change the component stops functioning HOT 7
- contentHiddenWhenClosed prevents content from opening HOT 1
- Can you all three of these simultaneously: triggerWhenOpen, easing, transitionTime? HOT 1
- Question - programmatically open/close component
- Please accept React 18 support pull request HOT 1
- Suggestion: Refactor library into a modernized approach in a new major version HOT 5
- Example app error: Invalid Version
- form inputs instantly close Collapsible. HOT 4
- Unable to pass key prop HOT 1
- Click events do not work correct within the collapsible
- Space Button does not work on any input element passed in "trigger" prop HOT 1
- lazyRender do not render on first open
- Attributes with unique values are not deterministic HOT 1
- Production version contains unnecessary files
- Hidden (closed) items still part of the DOM
- Just using Collapsible throws an error as of recently HOT 1
- Release 2.8.3 introduced a major Callapsible OPEN defect with lazyRender=true
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-collapsible.