Hi!
I'm having issue with the Collapsible component.
As you can see in this gif, the Collapsible close, but the props doesn't change. When I press on the button to show/hide the collapsible, it change the props value to close (But it doesn't change in the app because it already collapsed!). On the second click, the Collapsible is back open.
Got an explaination/solution/fix?
Thanks!
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-native-collapsible": "0.8.0",
EDIT: issue on iOS only
Hey @tiaaaa123 can you set up a simple example repo just so we can see the behaviour and the code that produces it
@tiaaaa123 Have you fixed this issue? I have the same(
Hi !
I have almost the same issue.
I'm trying to set up the accordion with stateful TextInput inside, and the accordion's content is disappearing when I try to modify the TextInput value.
EDIT : OK nevermind, it was just that my container View had flex: 1
Sorry for the false alert...
+1 on removing flex: 1 from the child view inside Collapsible.View.
This one threw me for a loop for hours.
Closing this by the solution of removing flex: 1. If this didn't work and the issue persists then ping me to reopen or create a new issue.
Most helpful comment
Hi !
I have almost the same issue.
I'm trying to set up the accordion with stateful TextInput inside, and the accordion's content is disappearing when I try to modify the TextInput value.
EDIT : OK nevermind, it was just that my container View had
flex: 1Sorry for the false alert...