can we expand all rows using accordion?
node, npm, react-native, react and native-base version
node - v9.1.0 npm - v5.5.1 react: "16.3.1", react-native: "^0.55.4", native-base: "^2.6.1",
Expected behaviour
1] i am using native base accordion and want to expand all the rows at the same time , can we have expand all property? 2] i have tried to modifiy the Accordion component file from node modules but changes made in the file does not reflect, so is their any way to modify accordion functionality??
Actual behaviour
we dont have property for accordion link expand all
Steps to reproduce should include code snippet and screenshot
Is the bug present in both iOS and Android or in any one of them?
ios and android both
Any other additional info which would help us debug the issue quicker.
i have tried to modifiy the Accordion component file from node modules but changes made in the file does not reflect
to get this working, go through https://github.com/GeekyAnts/NativeBase/blob/master/CONTRIBUTING.md#3-development-environment
This point being important here, In NativeBase's package.json, modify main from dist/src/index.js to src/index.js before you start with the development.
Thank you for the link i will go through the documentation
You can make this change initially, to find the code reflecting in your app
In NativeBase's package.json, modify main from dist/src/index.js to src/index.js before you start with the development.
yes i modified main from dist/src/index.js to src/index.js and now i can modify the component , Thankyou so much for the quick response
any other help needed here?
Closing this due to inactivity
any update? how did you archived to open multiple accordion items?
Hi, I've implemented exactly that feature in the PR https://github.com/GeekyAnts/NativeBase/pull/2632
Hi, I tried expanded={[1,2]}, but it doesn't work for me. My React naive version is 0.60 and my native base version is 2.13.8. Any update?