[Collapse] Duration prop is not applying
See original GitHub issueDescribe the bug No matter what I do, changing the duration
value on a <Collapse />
component doesn’t seem to have any effect
Expected Behavior … it should have an effect
Link to minimal reproduction https://codesandbox.io/s/eloquent-lumiere-0glyc?fontsize=14&hidenavigation=1&theme=dark
Steps to Reproduce:
- Create a
<Collapse>
and fill it with a lot of content - Add a
duration
prop and set to some high value, say 10 seconds (10000
)
Suggested solution(s) N/A
Desktop (please complete the following information):
- OS: Mac OS 10.15.5
- Browser: Chrome 83
Additional context N/A
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
React-Bootstrap Collapse button not working - Stack Overflow
a child component is getting redrawn when there is no change to its props by the parent (as you can see the extra...
Read more >visibility - CSS: Cascading Style Sheets - MDN Web Docs
The visibility CSS property shows or hides an element without changing the ... For other elements, collapse is treated the same as hidden...
Read more >React Transition Group
The Transition component lets you describe a transition from one component state to another over time with a simple declarative API.
Read more >Collapse | Components - BootstrapVue
Collapse. Easily toggle visibility of almost any content on your pages in a vertically collapsing container. Includes support for making accordions.
Read more >Transition | Vue.js
<Transition> for applying animations when an element or component is ... an explicit transition duration (in milliseconds) using the duration prop on the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is what I was looking for:
transition={{ enter: { duration: 5 } }}
Thanks for such great tool!
@segunadebayo there is still no visible way in the docs to modify transition duration