Comments (3)
After messing about in the code for a bit, I figured out that I needed to set slug
in my props, not key
. The documentation doesn't reflect this but it works fine this way, and the Accordion component checks the slug
prop, defaulting to the index to create the key if it doesn't find it. I'd be happy to submit a PR if that would be helpful.
from react-sanfona.
Yes, please submit a PR :)
from react-sanfona.
Well, it looks like the problem has been fixed since version 0.0.15, which my company is using. Forgot to check that part. oops :)
from react-sanfona.
Related Issues (20)
- max-height not getting removed after animation HOT 2
- onHover property HOT 2
- overflow is always 'hidden' when accordion item has images HOT 2
- Animation is not working while closing Itembody [occurs since version 1.2.1] HOT 1
- Does it support Typescript HOT 1
- Is it possible to describe the accordion component and the accordion item component in different classes? HOT 1
- Is there a way to hit the style well for accordion item components only?
- How to implement jump to prev/next item HOT 1
- Custom caret icon
- Expanded prop not overriding state on re-render? HOT 1
- Pass key for AccordionItem HOT 1
- Solution to hide a new life cycle warning HOT 1
- AccordionItem shakes when entering text.
- Any plans to update the dependencies ? HOT 1
- React 17 is going to deprecate UNSAFE lifecycle methods
- Accordion with image gets revealed when you double click on the Accordion item
- Close transition only works for the first time
- Can't use <input> within AccordionItem
- nested of Accordion then facing ui issue
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-sanfona.